Fix Mux as env variable.
This commit is contained in:
@@ -6,9 +6,9 @@ export default defineConfig({
|
||||
host: "0.0.0.0",
|
||||
hmr: process.env.GITPOD_WORKSPACE_URL
|
||||
? {
|
||||
// Due to port fowarding, we have to replace
|
||||
// Due to port forwarding, we have to replace
|
||||
// 'https' with the forwarded port, as this
|
||||
// is the URI created by Gitpod.
|
||||
// is the URI created by GitPod.
|
||||
host: process.env.GITPOD_WORKSPACE_URL.replace(
|
||||
"https://",
|
||||
"5173-"
|
||||
|
Reference in New Issue
Block a user