chore: code formatting

This commit is contained in:
github-actions[bot]
2022-07-07 05:02:55 +00:00
parent 1d978c18d1
commit e8ba7ee806

View File

@@ -400,7 +400,7 @@ export default async function({sandbox = false} = {}) {
}
//Control endpoints
if ((conf.settings.control?.token)&&(conf.settings.control.token)) {
if ((conf.settings.control?.token) && (conf.settings.control.token)) {
const middleware = (req, res, next) => {
console.log(`metrics/app/control > ${req.method} > ${req.url}`)
if (req.headers.authorization === conf.settings.control.token) {