added publicRuntimeConfig in nextjs config for upgrade URL (#651)

* added publicRuntimeConfig in nextjs config for upgrade URL (merge conflict fix)

* removed debug remnants

* merge-conflict further fix

* change request applied
pull/653/head^2
Syed Ali Shahbaz 2021-09-15 18:47:04 +05:30 committed by GitHub
parent 820c25f948
commit 0d60052c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -281,8 +281,8 @@ const EventTypesPage = (props: PageProps) => {
message={
<>
To upgrade go to{" "}
<a href={`${window.location.origin}/upgrade`} className="underline">
{`${window.location.origin}/upgrade`}
<a href={process.env.UPGRADE_URL || "https://cal.com/upgrade"} className="underline">
{process.env.UPGRADE_URL || "https://cal.com/upgrade"}
</a>
</>
}