added websocket updates

This commit is contained in:
wea_ondara
2024-05-28 17:26:14 +02:00
parent e356717fb8
commit 6ce07e29d7
13 changed files with 226 additions and 39 deletions

View File

@@ -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,
},
},
},