Update vite config to work properly with all defaults
This commit is contained in:
parent
ee143e3a43
commit
9b20e91eb2
|
@ -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