Node.js based forum software built for the modern web
change to verbose
Baris Usakli7350e54b6277
diff --git a/src/routes/index.js b/src/routes/index.jsindex 15339b4e11..5023dcc3d3 100644--- a/src/routes/index.js+++ b/src/routes/index.js@@ -181,7 +181,7 @@ module.exports = function (app, middleware, hotswapIds, callback) {];app.use(relativePath, function (req, res, next) {if (deprecatedPaths.some(function (path) { return req.path.startsWith(path); })) {- winston.warn('[deprecated] Accessing `' + req.path.slice(1) + '` from `/` is deprecated. ' ++ winston.verbose('[deprecated] Accessing `' + req.path.slice(1) + '` from `/` is deprecated. ' +'Use `/assets' + req.path + '` to access this file.');res.redirect(relativePath + '/assets' + req.path + '?' + meta.config['cache-buster']);} else {@@ -190,7 +190,7 @@ module.exports = function (app, middleware, hotswapIds, callback) {});// DEPRECATEDapp.use(relativePath + '/api/language', function (req, res) {- winston.warn('[deprecated] Accessing language files from `/api/language` is deprecated. ' ++ winston.verbose('[deprecated] Accessing language files from `/api/language` is deprecated. ' +'Use `/assets/language' + req.path + '.json` for prefetch paths.');res.redirect(relativePath + '/assets/language' + req.path + '.json?' + meta.config['cache-buster']);});