fix(dashboard): let vite serve api source modules

This commit is contained in:
gsxdsm
2026-06-07 22:23:54 -07:00
parent 61ae1bf706
commit 4ac47642f9

View File

@@ -199,7 +199,7 @@ export default defineConfig({
},
server: {
proxy: {
"/api": {
"^/api(?!/.*\\.ts$)(/|$)": {
target: `http://localhost:${process.env.FUSION_API_PORT ?? "4040"}`,
changeOrigin: true,
ws: true,