Update vite config to work properly with all defaults
This commit is contained in:
parent
f2af7f9719
commit
39188c6af4
|
@ -13,7 +13,7 @@ export default defineConfig(({ mode }) => {
|
||||||
strict: false,
|
strict: false,
|
||||||
},
|
},
|
||||||
hmr: {
|
hmr: {
|
||||||
protocol: "wss",
|
protocol: env.VITE_HMR_PROTOCOL || "ws",
|
||||||
clientPort: env.VITE_HMR_CLIENT_PORT || 3000,
|
clientPort: env.VITE_HMR_CLIENT_PORT || 3000,
|
||||||
path: env.VITE_HMR_PATH || "/",
|
path: env.VITE_HMR_PATH || "/",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue