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 Nov 24, 2024
1 parent 4d0ca0f commit b09e8e6
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 @@ -7,6 +7,13 @@ import manifest from './src/manifest'
// https://vitejs.dev/config/
export default defineConfig(({mode}) => {
return {
server: {
port: 5173,
strictPort: true,
hmr: {
port: 5173,
},
},
build: {
emptyOutDir: true,
outDir: 'build',
Expand Down

0 comments on commit b09e8e6

Please sign in to comment.