Skip to content

Commit

Permalink
Make Vite server listen on 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarti committed Jun 11, 2024
1 parent e9bdc66 commit 8334ff6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: './',
server: {
host: true
}
})

0 comments on commit 8334ff6

Please sign in to comment.