summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:46:09 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:46:09 +0200
commit0924f73a89f63c0da5f2469d2d1f12b2c0fed03f (patch)
treed1c1e122507a2c37914931df75c77f9c2614b9de /api/src
parentMerge branch 'master' into pr/hbjydev/454 (diff)
downloadserver-0924f73a89f63c0da5f2469d2d1f12b2c0fed03f.tar.xz
:art: exclude healthz/readyz from auth
Diffstat (limited to 'api/src')
-rw-r--r--api/src/middlewares/Authentication.ts2
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)/
 ];