Make favicons.zip be served from _favicon hidden directory
authorNick Downing <downing.nick@gmail.com>
Mon, 22 Oct 2018 03:50:58 +0000 (14:50 +1100)
committerNick Downing <downing.nick@gmail.com>
Mon, 22 Oct 2018 03:50:58 +0000 (14:50 +1100)
Site.js

diff --git a/Site.js b/Site.js
index daa0857..5e4152e 100644 (file)
--- a/Site.js
+++ b/Site.js
@@ -230,7 +230,7 @@ Site.prototype.respond = async function(env) {
     !await this.serve_jst(env, env.pathname + '.jst') &&
     !await this.serve_less(env, env.pathname + '.less') &&
     !await this.serve_fs(env, env.pathname) &&
-    !await this.serve_zip(env, '/favicons.zip')
+    !await this.serve_zip(env, '/_favicon/favicons.zip')
   ) {
     this.die(env, `file not found ${env.pathname}`)
   }