Skip to content

Commit

Permalink
vite config: also proxy vedirect- and batterylivedata (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen authored Aug 29, 2023
1 parent d4afc59 commit 929b477
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webapp/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 929b477

Please sign in to comment.