move static to end

This commit is contained in:
barisusakli
2014-07-02 16:08:21 -04:00
parent ec1196d288
commit 119d13053d
2 changed files with 4 additions and 5 deletions

View File

@@ -204,10 +204,6 @@ module.exports = function(app, data) {
compileTemplates(pluginTemplates);
});
app.use(relativePath, express.static(path.join(__dirname, '../../', 'public'), {
maxAge: app.enabled('cache') ? 5184000000 : 0
}));
return middleware;
};