You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(spa): missing static assets return index.html with 200 instead of 404 #310
spa_handler (crates/trapfalld/src/spa.rs) falls back to serving index.html (200, text/html) for any unmatched path — including /_app/immutable/entry/start.*.js and other extension-bearing asset URLs.
Wrong Content-Type + 200 for nonexistent .js/.css files poisons debugging and any future CDN/caching layer.
Suggested fix
If the path looks like a static asset (has a file extension, or starts with _app/, favicon, robots), return 404 when Assets::get() misses. Only fall back to index.html for extension-less SPA routes.
Activity
fix(spa): 404 for missing assets; persist selected project across pag…