mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
fix: local debug
This commit is contained in:
@@ -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