vite config: also proxy vedirect- and batterylivedata (#408)

This commit is contained in:
Bernhard Kirchen 2023-08-29 09:27:22 +02:00 committed by GitHub
parent d4afc5940a
commit 929b477275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,16 @@ export default defineConfig({
ws: true,
changeOrigin: true
},
'^/vedirectlivedata': {
target: 'ws://' + proxy_target,
ws: true,
changeOrigin: true
},
'^/batterylivedata': {
target: 'ws://' + proxy_target,
ws: true,
changeOrigin: true
},
'^/console': {
target: 'ws://' + proxy_target,
ws: true,