refactor: remove log, to much noise

This commit is contained in:
Barış Soner Uşaklı
2023-04-12 09:48:17 -04:00
parent d5636df207
commit 9806d89f15

View File

@@ -189,7 +189,6 @@ function addCoreRoutes(app, router, middleware, mounts) {
res.redirect(`${relativePath}/assets/uploads${req.path}?${meta.config['cache-buster']}`);
});
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 || ''}`);
});