Update vite config to work properly with all defaults

This commit is contained in:
Andrew Kingston 2022-08-17 09:21:36 +01:00
parent ee143e3a43
commit 9b20e91eb2
1 changed files with 1 additions and 1 deletions

View File

@ -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 || "/",
}, },