vite config: also proxy vedirect- and batterylivedata (#408)
This commit is contained in:
parent
d4afc5940a
commit
929b477275
@ -67,6 +67,16 @@ export default defineConfig({
|
|||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
},
|
},
|
||||||
|
'^/vedirectlivedata': {
|
||||||
|
target: 'ws://' + proxy_target,
|
||||||
|
ws: true,
|
||||||
|
changeOrigin: true
|
||||||
|
},
|
||||||
|
'^/batterylivedata': {
|
||||||
|
target: 'ws://' + proxy_target,
|
||||||
|
ws: true,
|
||||||
|
changeOrigin: true
|
||||||
|
},
|
||||||
'^/console': {
|
'^/console': {
|
||||||
target: 'ws://' + proxy_target,
|
target: 'ws://' + proxy_target,
|
||||||
ws: true,
|
ws: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user