fix(workspace): proxy daemon requests through Vite so Tailscale access works

This commit is contained in:
outsourc-e
2026-03-13 01:48:57 -04:00
parent b61759b11c
commit 711d33cbe8
8 changed files with 15 additions and 10 deletions

View File

@@ -99,6 +99,11 @@ const config = defineConfig(({ mode, command }) => {
})
},
},
'/workspace-api': {
target: 'http://127.0.0.1:3099',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/workspace-api/, ''),
},
},
},
plugins: [