Vite base: '/clawstor/' caused 404s when the SPA was served at /v2/ because asset paths like /clawstor/assets/... didn't match the actual serve path /v2/assets/... - vite.config.ts: switch to base: './' (relative paths work from any mount point — /v2/, /clawstor/, or bare /) - serve.rs: mount the SPA at both /v2/ and /clawstor/; add 308 redirect from /v2 and /clawstor (no trailing slash) to their canonical forms so browsers don't misinterpret the last segment as a filename and break relative ./assets/ resolution Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 line
388 B
Plaintext
1 line
388 B
Plaintext
{"root":["./src/App.tsx","./src/main.tsx","./src/components/NodeCard.tsx","./src/components/NodeHistorySparklines.tsx","./src/components/ProjectsPanel.tsx","./src/components/StatTile.tsx","./src/components/StorageBar.tsx","./src/lib/api.ts","./src/pages/CommandCenter.tsx","./src/pages/NodeDetail.tsx","./src/pages/RefTrackingPage.tsx","./src/pages/StorageBrowser.tsx"],"version":"6.0.3"} |