Fix Mux as env variable.

This commit is contained in:
Joao Patricio
2023-05-05 16:56:03 +01:00
parent 117ba360ac
commit 982f5beaf5
4 changed files with 6 additions and 3 deletions

View File

@@ -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-"