Skip to content

Node.js based forum software built for the modern web

another tab

barisusakli229326acd6a1
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)) {