Skip to content

Commit

Permalink
Merge pull request #2084 from ORCID/feature/dynamic-sub-domains
Browse files Browse the repository at this point in the history
Fix function issues
  • Loading branch information
leomendoza123 authored Oct 24, 2023
2 parents 1487017 + aeae131 commit 053daf2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/environments/environment.int.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.local-with-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.qa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 053daf2

Please sign in to comment.