Update vite.config.js for websocket proxy configuration

This commit is contained in:
Igor Maslov
2025-07-23 21:11:58 +00:00
parent 6db8be5f54
commit 95644fd457

View File

@@ -15,6 +15,10 @@ export default defineConfig(({ command, mode }) => {
'/ws': {
target: `ws://localhost:${env.PORT || 3002}`,
ws: true
},
'/shell': {
target: `ws://localhost:${env.PORT || 3002}`,
ws: true
}
}
},