Skip to content

Commit

Permalink
fix(examples): Use template literals for base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Apr 10, 2024
1 parent b949a72 commit ac0c627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/m2m-auth-with-next/app/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export function getBaseUrl() {
return process.env.VERCEL_ENV === "production"
? "https://m2m-auth.vercel.app"
: process.env.VERCEL_URL
? "https://${process.env.VERCEL_URL}"
? `https://${process.env.VERCEL_URL}`
: "http://localhost:3000";
}

0 comments on commit ac0c627

Please sign in to comment.