Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
334cd068d2 |
@@ -1 +1 @@
|
|||||||
{"root":["./src/app.tsx","./src/main.tsx","./src/components/nodecard.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"}
|
{"root":["./src/App.tsx","./src/main.tsx","./src/components/NodeCard.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"}
|
||||||
@@ -6,13 +6,15 @@ import react from '@vitejs/plugin-react';
|
|||||||
// During local dev the daemon proxies /api/v2/* on :7700 so
|
// During local dev the daemon proxies /api/v2/* on :7700 so
|
||||||
// `vite dev` on :5173 can hit it via server.proxy.
|
// `vite dev` on :5173 can hit it via server.proxy.
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// Absolute base tied to the deploy path. Prior try was `./`
|
// Absolute base matching the backend's actual mount point
|
||||||
// (fully relative) which broke when the user hit `/clawstor`
|
// (`serve.rs` nests the v2 static dir at `/v2` via
|
||||||
// without trailing slash — browser resolves `./assets/…`
|
// `nest_service("/v2", …)`). A prior `/clawstor/` base assumed a
|
||||||
// against `/clawstor` treated as a file, gives `/assets/…`,
|
// Tailscale Serve path mapping that was never actually configured
|
||||||
// 404 from Tailscale. Absolute `/clawstor/` sidesteps the
|
// on any node (checked `tailscale serve status` on tank +
|
||||||
// slash / no-slash ambiguity.
|
// architect: neither proxies a `/clawstor` path) — that base
|
||||||
base: '/clawstor/',
|
// silently broke direct `:7700/v2/` access, the only access
|
||||||
|
// pattern that's actually live.
|
||||||
|
base: '/v2/',
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
port: 5173,
|
port: 5173,
|
||||||
|
|||||||
Reference in New Issue
Block a user