Fix session file download URL — reverse legacy redirect
The webclient requests files at /api/sessions/{id}/files/{name},
but the actual endpoint lives at /sessions/{id}/files/{name}.
The old legacy redirect pointed the wrong way (/sessions → /api),
which always 404'd because /api/sessions/... was never registered.

- Replace legacy redirect with /api/sessions/... → /sessions/... (307)
- 307 preserves the request method and cookies during the redirect

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7ac12f7 commit a73033102acca472f797957ff2e69a56e6433598
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 21 May
Showing 1 changed file
View
navi/main.py