Add application health endpoint

This commit is contained in:
jb
2026-07-30 11:36:15 -04:00
parent 3f440dd3c9
commit 6186534ac8
7 changed files with 185 additions and 4 deletions
+1 -1
View File
@@ -73,6 +73,7 @@ describe('isLaunchGateExempt', () => {
'/contact',
'/auth/discord',
'/auth/discord/callback',
'/api/health',
'/api/health/database',
'/api/internal/notifications',
'/_app/immutable/entry/start.js',
@@ -88,7 +89,6 @@ describe('isLaunchGateExempt', () => {
'/coming-soon/preview',
'/sign-in/help',
'/auth',
'/api/health',
'/api/internal',
'/favicon.png'
])('does not exempt %s', (pathname) => {
+1
View File
@@ -64,6 +64,7 @@ export function isLaunchGateExempt(pathname: string) {
pathname === '/dmca' ||
pathname === '/contact' ||
pathname.startsWith('/auth/') ||
pathname === '/api/health' ||
pathname.startsWith('/api/health/') ||
pathname.startsWith('/api/internal/') ||
pathname.startsWith('/_app/') ||