Dan Janosik
6 years ago
No known key found for this signature in database
GPG Key ID: C6F8CE9FFDB2CED2
1 changed files with
0 additions and
8 deletions
-
app.js
|
|
@ -72,14 +72,6 @@ app.use(session({ |
|
|
|
saveUninitialized: false |
|
|
|
})); |
|
|
|
|
|
|
|
app.use(function(req, res, next) { |
|
|
|
if (req.url.match(/^.*(css|js)$/)) { |
|
|
|
res.setHeader("Cache-Control", "no-transform"); |
|
|
|
} |
|
|
|
|
|
|
|
next(); |
|
|
|
}); |
|
|
|
|
|
|
|
app.use(express.static(path.join(__dirname, 'public'))); |
|
|
|
|
|
|
|
process.on("unhandledRejection", (reason, p) => { |
|
|
|