diff --git a/src/supervisor-api.ts b/src/supervisor-api.ts index 5f2f1cf5..76f8d2f8 100644 --- a/src/supervisor-api.ts +++ b/src/supervisor-api.ts @@ -95,7 +95,6 @@ export class SupervisorAPI { this.api.disable('x-powered-by'); this.api.use(expressLogger); - this.api.use(authenticate(this.config)); this.api.get('/v1/healthy', async (_req, res) => { try { @@ -109,6 +108,8 @@ export class SupervisorAPI { } }); + this.api.use(authenticate(this.config)); + this.api.get('/ping', (_req, res) => res.send('OK')); this.api.post('/v1/blink', (_req, res) => {