Spaces:
Paused

somratpro Claude Opus 4.7 commited on
Commit
c4c4e4c
Β·
1 Parent(s): ad8ca81

fix: redirect /app root to /app/auth/ instead of white-screening

Browse files

nginx:5000 returns HTTP 200 with empty body for GET / β€” it never reaches
Next.js for the bare root path. health-server now intercepts GET /app and
GET /app/ before proxying and issues a 302 β†’ /app/auth/; Next.js middleware
then redirects authenticated users to /launches/ transparently.

Also removes the temporary /debug-proxy endpoint and console.warn that were
added for diagnosis, and annotates the Dockerfile nginx patch for clarity.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

2 files changed +20 -38
Files changed (2)
Dockerfile+7
health-server.js+13-38