fix(workspace): proxy daemon requests through Vite so Tailscale access works
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user