plugins: allow unauthenticated access to health check endpoints

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-03-18 11:40:39 +01:00
parent 5d69520238
commit 4467036e2a
14 changed files with 68 additions and 0 deletions
@@ -54,6 +54,10 @@ export const codeCoveragePlugin = createBackendPlugin({
database,
}),
);
httpRouter.addAuthPolicy({
path: '/health',
allow: 'unauthenticated',
});
},
});
},