Skip to content

Commit

Permalink
Update vite.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Jan 11, 2024
1 parent 24b1e0a commit 15775d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export default defineConfig({
server: {
hmr: {
protocol: process.env.HMR_PROTOCOL || 'ws',
host: process.env.HMR_HOST || null,
port: process.env.HMR_PORT || null,
host: process.env.HMR_HOST !== undefined ? process.env.HMR_HOST : null,
port: process.env.HMR_PORT !== undefined ? process.env.HMR_PORT : null,
},
},
});

0 comments on commit 15775d3

Please sign in to comment.