Revert "Set Cache-Control for static resources"

This reverts commit 7510e75688.
This commit is contained in:
Tankred Hase 2016-06-29 11:29:30 +02:00
parent e75f37031a
commit e8c3820c49

View File

@ -91,7 +91,7 @@ app.use(router.routes());
app.use(router.allowedMethods()); app.use(router.allowedMethods());
// serve static files // serve static files
app.use(serve(__dirname + '/static', { maxage:31536000000 })); app.use(serve(__dirname + '/static'));
app.on('error', (error, ctx) => { app.on('error', (error, ctx) => {
if (error.status) { if (error.status) {