fix: remove some loggers
This commit is contained in:
@@ -538,7 +538,7 @@ export default async function({sandbox = false} = {}) {
|
||||
//Control endpoints
|
||||
if (conf.settings.control?.token) {
|
||||
const middleware = (req, res, next) => {
|
||||
console.log(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
|
||||
console.debug(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
|
||||
if (req.headers.authorization === conf.settings.control.token) {
|
||||
next()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user