Skip to content

Commit

Permalink
Fix function issues
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Oct 24, 2023
1 parent d5a742d commit 8be9cd8
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class AppComponent {
@Inject(WINDOW) private _window: Window,
_titleService: TitleService
) {
console.log('environment.API_WEB', environment.API_WEB)
_titleService.init()
_platformInfo
.get()
Expand Down
1 change: 1 addition & 0 deletions src/app/core/sign-in/sign-in.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class SignInService {
body = body.set('recoveryCode', signInLocal.data.recoveryCode)
}
body = body.set('oauthRequest', signInLocal.isOauth ? 'true' : 'false')
console.log('environment.API_WEB', environment.API_WEB)
return this._http
.post<SignIn>(environment.API_WEB + loginUrl, body, {
withCredentials: true,
Expand Down
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 8be9cd8

Please sign in to comment.