Skip to content

Commit fe82d88

Browse files
fix: change localhost:3000 to Gitpod workspace URL (#10470)
Co-authored-by: Peer Richelsen <peer@cal.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
1 parent 01e2ba3 commit fe82d88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitpod.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ tasks:
55
next_auth_secret=$(openssl rand -base64 32) &&
66
calendso_encryption_key=$(openssl rand -base64 24) &&
77
sed -i -e "s|^NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET=$next_auth_secret|" \
8-
-e "s|^CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY=$calendso_encryption_key|" .env
8+
-e "s|^CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY=$calendso_encryption_key|" \
9+
-e "s|http://localhost:3000|https://localhost:3000|" \
10+
-e "s|localhost:3000|3000-$GITPOD_WORKSPACE_ID.$GITPOD_WORKSPACE_CLUSTER_HOST|" .env
911
command: yarn dx
1012
1113
ports:

0 commit comments

Comments
 (0)