fix: local debug

This commit is contained in:
naiba committed 2024-12-09 23:11:17 +08:00
1 parent b53688b4f4
commit e2027a0ef0
5 files changed
+52 -57

No files matched your search

+5 -5
View File
@@ -7,15 +7,15 @@ export default defineConfig({
plugins: [react()],
server: {
proxy: {
'^/api/v1/ws/.*': {
target: "ws://localhost:8008",
changeOrigin: true,
ws: true,
},
'/api': {
target: 'http://localhost:8008',
changeOrigin: true,
},
'/api/v1/ws': {
target: 'http://localhost:8008',
changeOrigin: true,
ws: true,
},
},
},
resolve: {