diff --git a/apxtri/middlewares/checkHeaders.js b/apxtri/middlewares/checkHeaders.js index 45f7ab4..69570af 100755 --- a/apxtri/middlewares/checkHeaders.js +++ b/apxtri/middlewares/checkHeaders.js @@ -106,7 +106,7 @@ const checkHeaders = (req, res, next) => { }); } if (!conf.api.languages.includes(header.xlang)) { - const info=`warning language requested _${header.xlang}_ does not exist force to english`; + const info=`warning language requested _${header.xlang}_ does not exist force to english, requested with ${req.method} - ${req.headers.host} ${req.originalUrl}`; console.log(currentmod, info); //console.log(Date.now(),currentmod, req.header("xtribe"),info); header.xlang = "en";