mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	refactor: remove log, to much noise
This commit is contained in:
		| @@ -189,7 +189,6 @@ function addCoreRoutes(app, router, middleware, mounts) { | |||||||
| 		res.redirect(`${relativePath}/assets/uploads${req.path}?${meta.config['cache-buster']}`); | 		res.redirect(`${relativePath}/assets/uploads${req.path}?${meta.config['cache-buster']}`); | ||||||
| 	}); | 	}); | ||||||
| 	app.use(`${relativePath}/plugins`, (req, res) => { | 	app.use(`${relativePath}/plugins`, (req, res) => { | ||||||
| 		winston.warn(`${chalk.bold.red('[deprecation]')} The \`/plugins\` shorthand prefix is deprecated, prefix with \`/assets/plugins\` instead (path: ${req.path})`); |  | ||||||
| 		res.redirect(`${relativePath}/assets/plugins${req.path}${req._parsedUrl.search || ''}`); | 		res.redirect(`${relativePath}/assets/plugins${req.path}${req._parsedUrl.search || ''}`); | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user