Skip to content

Commit

Permalink
fix establish web-socket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
bozzhik committed Sep 27, 2024
1 parent 3bd5a7d commit 42cee8b
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 42cee8b

Please sign in to comment.