mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
move static to end
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user