From fe82d88adf485f798a37205733c992c842526fb7 Mon Sep 17 00:00:00 2001 From: Annlee Fores Date: Wed, 27 Sep 2023 21:24:45 +0530 Subject: [PATCH] fix: change localhost:3000 to Gitpod workspace URL (#10470) Co-authored-by: Peer Richelsen Co-authored-by: Peer Richelsen --- .gitpod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 91f5198b85..dee16358b3 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: