Skip to content

Commit

Permalink
let vite listen not only on localhost so it can be started in a WSL2 …
Browse files Browse the repository at this point in the history
…container and can be accessed for the windows host.

This is required to use/test plugins with gotify
  • Loading branch information
mfechner committed Jan 3, 2025
1 parent 8171998 commit 31d8b64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default defineConfig({
//global: {},
},
server: {
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://localhost:3000/',
Expand Down

0 comments on commit 31d8b64

Please sign in to comment.