From 229326acd6a19d27dda41aa70a1618112ae573f9 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 13 Apr 2016 10:32:59 +0300 Subject: [PATCH] another tab --- src/routes/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/plugins.js b/src/routes/plugins.js index c8798777e4..0123433db9 100644 --- a/src/routes/plugins.js +++ b/src/routes/plugins.js @@ -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)) {