Skip to content

Commit

Permalink
vite config: also proxy vedirect- and batterylivedata
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Aug 28, 2023
1 parent 88744bf commit 3ee4b5a
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 3ee4b5a

Please sign in to comment.