From aeae131db388f1a4fce019e4f8e1aa2813c2b600 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Tue, 24 Oct 2023 14:42:36 -0600 Subject: [PATCH] Fix function issues --- src/environments/environment.int.ts | 4 ++-- src/environments/environment.local-with-proxy.ts | 4 ++-- src/environments/environment.local.ts | 4 ++-- src/environments/environment.production.ts | 4 ++-- src/environments/environment.qa.ts | 4 ++-- src/environments/environment.sandbox.ts | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/environments/environment.int.ts b/src/environments/environment.int.ts index 4e542c6135..c29298cefd 100644 --- a/src/environments/environment.int.ts +++ b/src/environments/environment.int.ts @@ -5,8 +5,8 @@ export const environment = { debugger: true, ROBOTS: 'noindex, nofollow', API_NEWS: 'https://info.int.orcid.org/feed/', - API_PUB: `//pub.${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//pub.${getSubDomain()}orcid.org/v3.0`, + API_WEB: `//${getSubDomain()}orcid.org/`, BASE_URL: '', INFO_SITE: 'https://info.qa.orcid.org/', GOOGLE_ANALYTICS_TESTING_MODE: true, diff --git a/src/environments/environment.local-with-proxy.ts b/src/environments/environment.local-with-proxy.ts index b5dead85ca..bfcf39d179 100644 --- a/src/environments/environment.local-with-proxy.ts +++ b/src/environments/environment.local-with-proxy.ts @@ -5,8 +5,8 @@ export const environment = { debugger: true, ROBOTS: 'all', API_NEWS: 'https://www.mocky.io/v2/5dced45b3000007300931ce8', - API_PUB: `//${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//${getSubDomain()}localhost:4200/v3.0`, + API_WEB: `//${getSubDomain()}localhost:4200/`, BASE_URL: '', INFO_SITE: 'https://info.orcid.org/', GOOGLE_ANALYTICS_TESTING_MODE: true, diff --git a/src/environments/environment.local.ts b/src/environments/environment.local.ts index c3cf15c096..17a2c48d44 100644 --- a/src/environments/environment.local.ts +++ b/src/environments/environment.local.ts @@ -5,8 +5,8 @@ export const environment = { debugger: true, ROBOTS: 'all', API_NEWS: 'https://www.mocky.io/v2/5dced45b3000007300931ce8', - API_PUB: `//pub.${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//pub.${getSubDomain()}orcid.org/v3.0`, + API_WEB: `//${getSubDomain()}orcid.org/`, BASE_URL: '', INFO_SITE: 'https://info.orcid.org/', GOOGLE_ANALYTICS_TESTING_MODE: true, diff --git a/src/environments/environment.production.ts b/src/environments/environment.production.ts index 3b53af8963..875cc1bcb6 100644 --- a/src/environments/environment.production.ts +++ b/src/environments/environment.production.ts @@ -5,8 +5,8 @@ export const environment = { debugger: false, ROBOTS: 'all', API_NEWS: 'https://info.orcid.org/feed/', - API_PUB: `//pub.${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//pub.${getSubDomain()}orcid.org/v3.0`, + API_WEB: `//${getSubDomain()}orcid.org/`, BASE_URL: '', INFO_SITE: 'https://info.orcid.org/', SHOW_TEST_WARNING_BANNER: false, diff --git a/src/environments/environment.qa.ts b/src/environments/environment.qa.ts index ec88f0e58c..738924ed73 100644 --- a/src/environments/environment.qa.ts +++ b/src/environments/environment.qa.ts @@ -5,8 +5,8 @@ export const environment = { debugger: true, ROBOTS: 'noindex, nofollow', API_NEWS: 'https://info.qa.orcid.org/feed/', - API_PUB: `//pub.${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//pub.${getSubDomain()}orcid.org/v3.0`, + API_WEB: `//${getSubDomain()}orcid.org/`, BASE_URL: '', INFO_SITE: 'https://info.qa.orcid.org/', GOOGLE_ANALYTICS_TESTING_MODE: true, diff --git a/src/environments/environment.sandbox.ts b/src/environments/environment.sandbox.ts index 459a254f6e..209db30d39 100644 --- a/src/environments/environment.sandbox.ts +++ b/src/environments/environment.sandbox.ts @@ -5,8 +5,8 @@ export const environment = { debugger: false, ROBOTS: 'noindex, nofollow', API_NEWS: 'https://info.qa.orcid.org/feed/', - API_PUB: `//pub.${getSubDomain}orcid.org/v3.0`, - API_WEB: `//${getSubDomain}orcid.org/`, + API_PUB: `//pub.${getSubDomain()}orcid.org/v3.0`, + API_WEB: `//${getSubDomain()}orcid.org/`, BASE_URL: '', INFO_SITE: 'https://info.qa.orcid.org/', GOOGLE_ANALYTICS_TESTING_MODE: false,