chore: code formatting
This commit is contained in:
@@ -400,7 +400,7 @@ export default async function({sandbox = false} = {}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Control endpoints
|
//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) => {
|
const middleware = (req, res, next) => {
|
||||||
console.log(`metrics/app/control > ${req.method} > ${req.url}`)
|
console.log(`metrics/app/control > ${req.method} > ${req.url}`)
|
||||||
if (req.headers.authorization === conf.settings.control.token) {
|
if (req.headers.authorization === conf.settings.control.token) {
|
||||||
|
|||||||
Reference in New Issue
Block a user