Skip to content

Commit

Permalink
fix(vercel-url): prefix with https
Browse files Browse the repository at this point in the history
prefix with https
  • Loading branch information
snomiao committed Jul 11, 2024
1 parent 2877ebb commit e43634e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcloud/getAuthenticatedClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getGCloudOAuth2RedirectUri(): string {
new URL(
process.env.AUTH_GCLOUD_URL ??
process.env.AUTH_URL ??
process.env.VERCEL_URL?.replace(/^/,'https://') ??
process.env.VERCEL_URL?.replace(/^/, "https://") ??
DIE`\
Missding env.API_AUTH_URL, \
Please choose one from web.keys.redirect_uris \
Expand Down

0 comments on commit e43634e

Please sign in to comment.