public
/
jst_server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e533b9f
)
Make favicons.zip be served from _favicon hidden directory
author
Nick Downing
<downing.nick@gmail.com>
Mon, 22 Oct 2018 03:50:58 +0000
(14:50 +1100)
committer
Nick Downing
<downing.nick@gmail.com>
Mon, 22 Oct 2018 03:50:58 +0000
(14:50 +1100)
Site.js
patch
|
blob
|
history
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}`)
}