|
|
|
@ -185,7 +185,6 @@ var fs = require('fs'),
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function mapStaticDirs(mappedPath) {
|
|
|
|
|
if (pluginData.staticDirs.hasOwnProperty(mappedPath)) {
|
|
|
|
|
if (Plugins.staticDirs[mappedPath]) {
|
|
|
|
|
winston.warn('[plugins/' + pluginData.id + '] Mapped path (' + mappedPath + ') already specified!');
|
|
|
|
|
} else if (!validMappedPath.test(mappedPath)) {
|
|
|
|
@ -205,7 +204,6 @@ var fs = require('fs'),
|
|
|
|
|
}(staticDir));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for(var key in pluginData.staticDirs) {
|
|
|
|
|
if (pluginData.staticDirs.hasOwnProperty(key)) {
|
|
|
|
|