fix backend bug

This commit is contained in:
Jack committed 2026-06-09 09:54:29 +08:00
1 parent f24f1755d4
commit 5cc21a51e1
4 files changed
+83

No files matched your search

+8
View File
@@ -8,4 +8,12 @@ export default defineConfig({
react(),
babel({ presets: [reactCompilerPreset()] })
],
server: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true
}
}
}
})