From 0a50a551b62f4b35605ccbd115e84c145002a9f6 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 8 Feb 2024 16:53:39 +0100 Subject: [PATCH] changed to env --- src/Pages/Authentication/index.js | 6 +----- src/utils.js | 9 +++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/Pages/Authentication/index.js b/src/Pages/Authentication/index.js index 18565b6..b30cf93 100644 --- a/src/Pages/Authentication/index.js +++ b/src/Pages/Authentication/index.js @@ -83,11 +83,7 @@ function PrivacyPolicyCheckbox() { const { t } = useTranslation(); const link = ( - + ); return ( diff --git a/src/utils.js b/src/utils.js index b5f06d9..be79aaa 100644 --- a/src/utils.js +++ b/src/utils.js @@ -33,9 +33,10 @@ export const Constants = { API_ADDRESS: apiAddress, //STATIC_CONTENT_ADDRESS: staticContentAddress, // WS_ADDRESS: wsAddress, - EMBED_CALENDAR_ADDRESS: "https://calendar.ex.umbach.dev/embed/?id=", + EMBED_CALENDAR_ADDRESS: process.env.REACT_APP_EMBED_CALENDAR_ADDRESS, EMBED_CALENDAR_SCRIPT_ADDRESS: - "https://calendar.ex.umbach.dev/embedPopup/script.js", + process.env.REACT_APP_EMBED_CALENDAR_SCRIPT_ADDRESS, + PRIVACY_POLICY_URL: process.env.REACT_APP_PRIVACY_POLICY_URL, ROUTE_PATHS: { AUTHENTICATION: { LOGIN: "/login", @@ -82,7 +83,7 @@ export const Constants = { MAX_COMPANY_NAME_LENGTH: 64, }, DELAY_ACCOUNT_NAME_CHECK: 250, - CLARITY_PROJECT_ID: "kr0pale8uy", + CLARITY_PROJECT_ID: process.env.REACT_APP_CLARITY_PROJECT_ID, ACCOUNT_DELETED_AFTER_DAYS: 30, ACCOUNT_STATE: { ACTIVE: 0, @@ -90,7 +91,7 @@ export const Constants = { INIT_LOGGING: 2, BANNED: 3, }, - SUPPORT_EMAIL: "support@zeitadler.de", + SUPPORT_EMAIL: process.env.REACT_APP_SUPPORT_EMAIL, }; export const AppStyle = {