Skip to content

Commit

Permalink
fix vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
theelims committed Oct 8, 2023
1 parent c90a429 commit 25eb90b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
22 changes: 22 additions & 0 deletions interface/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions interface/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ const config: UserConfig = {
target: 'http://192.168.1.83',
changeOrigin: true
},
// Proxying REST: http://localhost:5173/rest/bar -> http://192.168.1.83/rest/bar
'/events': {
target: 'http://192.168.1.89',
changeOrigin: true
},
// Proxying websockets ws://localhost:5173/ws -> ws://192.168.1.83/ws
'/ws': {
target: 'ws://192.168.1.83',
Expand Down

0 comments on commit 25eb90b

Please sign in to comment.