another tab

v1.18.x
barisusakli 9 years ago
parent f43be13f87
commit 229326acd6

@ -9,7 +9,7 @@ module.exports = function(app, middleware, controllers) {
// Static Assets
app.get('/plugins/:id/*', middleware.addExpiresHeaders, function(req, res, next) {
var relPath = req._parsedUrl.pathname.replace('/plugins/', '');
var relPath = req._parsedUrl.pathname.replace('/plugins/', '');
var matches = _.map(plugins.staticDirs, function(realPath, mappedPath) {
if (relPath.match(mappedPath)) {

Loading…
Cancel
Save