mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
resolved #926
This commit is contained in:
@@ -31,7 +31,6 @@ var nconf = require('nconf'),
|
||||
|
||||
// Static Assets
|
||||
app.get('/plugins/:id/*', function(req, res) {
|
||||
|
||||
var relPath = req._parsedUrl.pathname.replace(nconf.get('relative_path') + '/plugins/' + req.params.id, '');
|
||||
|
||||
if (plugins.staticDirs[req.params.id]) {
|
||||
|
||||
Reference in New Issue
Block a user