added websocket updates
This commit is contained in:
@@ -29,11 +29,15 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
clearScreen: false,
|
||||
server: {
|
||||
server: {
|
||||
proxy: {//for dev
|
||||
'^/api/.*$': {
|
||||
target: 'http://localhost:5172',
|
||||
changeOrigin: true,
|
||||
}, '^/ws/.*$': {
|
||||
target: 'http://localhost:5172',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user