chore: Make URLs for terms and privacy policy customizable via .env vars (#16350)
This commit is contained in:
1 parent
b6d31129a3
commit
7a57f57e99
6 files changed
+20
-8
No files matched your search
@@ -23,8 +23,9 @@ import {
|
||||
URL_PROTOCOL_REGEX,
|
||||
IS_CALCOM,
|
||||
WEBAPP_URL,
|
||||
WEBSITE_URL,
|
||||
CLOUDFLARE_SITE_ID,
|
||||
WEBSITE_PRIVACY_POLICY_URL,
|
||||
WEBSITE_TERMS_URL,
|
||||
} from "@calcom/lib/constants";
|
||||
import { fetchUsername } from "@calcom/lib/fetchUsername";
|
||||
import { pushGTMEvent } from "@calcom/lib/gtm";
|
||||
@@ -541,14 +542,14 @@ export default function Signup({
|
||||
<Link
|
||||
className="text-emphasis hover:underline"
|
||||
key="terms"
|
||||
href={`${WEBSITE_URL}/terms`}
|
||||
href={`${WEBSITE_TERMS_URL}`}
|
||||
target="_blank">
|
||||
Terms
|
||||
</Link>,
|
||||
<Link
|
||||
className="text-emphasis hover:underline"
|
||||
key="privacy"
|
||||
href={`${WEBSITE_URL}/privacy`}
|
||||
href={`${WEBSITE_PRIVACY_POLICY_URL}`}
|
||||
target="_blank">
|
||||
Privacy Policy.
|
||||
</Link>,
|
||||
|
||||
Reference in new issue
Block a user