Spaces:
Paused

somratpro Claude Sonnet 4.6 commited on
Commit
dc1a562
·
1 Parent(s): a06ec5d

fix(terminal): skip JupyterLab login screen; add backup warning banner

Browse files

- health-server.js: inject ?token= into initial terminal HTML requests so
JupyterLab 4.x sets the auth cookie and skips its own login screen.
Authorization header alone is insufficient for HTML page loads in JL 4.x.
- health-server.js: add prominent dashboard banner when HF_TOKEN is not set,
warning that all data will be lost on Space restart (fixes #12 root cause).
- health-server.js: fix 503 message on /terminal/ to not mention JUPYTER_TOKEN.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

1 file changed +16 -1
health-server.js+16-1