Commit 3647625
flowcore-platform
fix: exclude /api/health from middleware for k8s health checks
The readiness probe was failing because /api/health was being processed
through NextAuth middleware, causing connection delays/failures. Health
checks need immediate response without auth processing.
Changes:
- Exclude api/health from middleware matcher
- Health endpoint now bypasses all NextAuth middleware
- Fixes 502 Bad Gateway errors due to failing readiness probes1 parent 93c6160 commit 3647625
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
0 commit comments