Skip to content

Commit

Permalink
fix establish WebSocket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
bozzhik committed Jan 29, 2025
1 parent e7603e7 commit 894872f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ export default defineConfig(({ mode }) => {
},
},
},
server: {
port: 5173,
strictPort: true,
hmr: {
port: 5173,
},
},
legacy: {
skipWebSocketTokenCheck: true,
},
Expand Down

0 comments on commit 894872f

Please sign in to comment.