mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	new staticDirs format, @mrwaffle
This commit is contained in:
		| @@ -174,7 +174,7 @@ var fs = require('fs'), | ||||
| 									(function(staticDir) { | ||||
| 										fs.exists(staticDir, function(exists) { | ||||
| 											if (exists) { | ||||
| 												Plugins.staticDirs[mappedPath] = staticDir; | ||||
| 												Plugins.staticDirs[path.join(pluginData.id, mappedPath)] = staticDir; | ||||
| 											} else { | ||||
| 												winston.warn('[plugins/' + pluginData.id + '] Mapped path \'' + mappedPath + ' => ' + staticDir + '\' not found.'); | ||||
| 											} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user