ESlint quotes

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:56:23 -07:00
parent 604358ecc4
commit a038c66549
161 changed files with 356 additions and 356 deletions

View File

@@ -24,11 +24,11 @@ module.exports = function (middleware) {
middleware.addExpiresHeaders = function (req, res, next) {
if (req.app.enabled('cache')) {
res.setHeader("Cache-Control", "public, max-age=5184000");
res.setHeader("Expires", new Date(Date.now() + 5184000000).toUTCString());
res.setHeader('Cache-Control', 'public, max-age=5184000');
res.setHeader('Expires', new Date(Date.now() + 5184000000).toUTCString());
} else {
res.setHeader("Cache-Control", "public, max-age=0");
res.setHeader("Expires", new Date().toUTCString());
res.setHeader('Cache-Control', 'public, max-age=0');
res.setHeader('Expires', new Date().toUTCString());
}
next();