fix: harden frontend state and tooling
This commit is contained in:
+10
-5
@@ -1,8 +1,13 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
build: { outDir: '../backend/internal/web/dist', emptyOutDir: true },
|
||||
server: { proxy: { '/api': 'http://localhost:8080', '/health': 'http://localhost:8080' } },
|
||||
})
|
||||
build: { outDir: "../backend/internal/web/dist", emptyOutDir: true },
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": "http://localhost:8080",
|
||||
"/health": "http://localhost:8080",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user