fix: connect operations pages to real backend

This commit is contained in:
hectorzhao
2026-07-02 15:16:34 +08:00
parent ab421cf8a7
commit 321cf716f2
22 changed files with 1255 additions and 429 deletions
+6
View File
@@ -4,6 +4,7 @@ import path from 'path';
export default defineConfig({
plugins: [react()],
cacheDir: 'node_modules/.vite-cmpp',
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
@@ -11,6 +12,7 @@ export default defineConfig({
},
server: {
port: 5173,
strictPort: false,
proxy: {
'/api': {
target: 'http://localhost:3000',
@@ -18,6 +20,10 @@ export default defineConfig({
},
},
},
optimizeDeps: {
noDiscovery: true,
include: [],
},
preview: {
proxy: {
'/api': {