mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 16:50:20 +00:00
fix: local debug
This commit is contained in:
1 parent
b53688b4f4
commit
e2027a0ef0
5 files changed
+52
-57
No files matched your search
+5
-5
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user