Fix language path (#5032)

v1.18.x
Jorge Meireles 8 years ago committed by Julian Lam
parent 2f432d7994
commit 4938b00635

@ -142,7 +142,7 @@ module.exports = function(app, middleware, hotswapIds) {
}
app.use(middleware.privateUploads);
app.use('/language/:code', middleware.processLanguages);
app.use(relativePath + '/language/:code', middleware.processLanguages);
app.use(relativePath, express.static(path.join(__dirname, '../../', 'public'), {
maxAge: app.enabled('cache') ? 5184000000 : 0
}));

Loading…
Cancel
Save