diff --git a/src/environments/environment.int.ts b/src/environments/environment.int.ts index 49d2e65006..b35ed5508d 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 ec201e1c78..c8064495dd 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 d109184029..d784c9e438 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 af6ac537bf..615db6efd0 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 46deea00ec..415f9d3ece 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 c285a176ec..687174355f 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,