diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 00:46:09 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 00:46:09 +0200 |
commit | 0924f73a89f63c0da5f2469d2d1f12b2c0fed03f (patch) | |
tree | d1c1e122507a2c37914931df75c77f9c2614b9de /api/src | |
parent | Merge branch 'master' into pr/hbjydev/454 (diff) | |
download | server-0924f73a89f63c0da5f2469d2d1f12b2c0fed03f.tar.xz |
:art: exclude healthz/readyz from auth
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/middlewares/Authentication.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/middlewares/Authentication.ts b/api/src/middlewares/Authentication.ts index 5a082751..59a181e6 100644 --- a/api/src/middlewares/Authentication.ts +++ b/api/src/middlewares/Authentication.ts @@ -9,6 +9,8 @@ export const NO_AUTHORIZATION_ROUTES = [ "/ping", "/gateway", "/experiments", + "/-/readyz", + "/-/healthz", /\/guilds\/\d+\/widget\.(json|png)/ ]; |