server: lint
This commit is contained in:
parent
7a695343de
commit
00d0c0149d
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ function httpRoute(req, res) {
|
|||
|
||||
} else if (/^\/(assets|client)\//.test(url)){
|
||||
|
||||
if (prod) res.setHeader("Cache-Control", "public, max-age=2592000");
|
||||
if (prod) res.setHeader('Cache-Control', 'public, max-age=2592000')
|
||||
res.sendFile(path.resolve(__dirname + '/..' + url))
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue