Skip to content

Scheduling infrastructure for absolutely everyone.

fix: change localhost:3000 to Gitpod workspace URL (#10470)

Annlee Foresfe82d88adf48
diff --git a/.gitpod.yml b/.gitpod.yml
index 91f5198b85e..dee16358b3d 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -5,7 +5,9 @@ tasks:
next_auth_secret=$(openssl rand -base64 32) &&
calendso_encryption_key=$(openssl rand -base64 24) &&
sed -i -e "s|^NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET=$next_auth_secret|" \
- -e "s|^CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY=$calendso_encryption_key|" .env
+ -e "s|^CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY=$calendso_encryption_key|" \
+ -e "s|http://localhost:3000|https://localhost:3000|" \
+ -e "s|localhost:3000|3000-$GITPOD_WORKSPACE_ID.$GITPOD_WORKSPACE_CLUSTER_HOST|" .env
command: yarn dx
ports: