Skip to content

Commit

Permalink
Update api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise authored Jun 24, 2021
1 parent 80ed143 commit 7e8e6dd
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions src/app/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export class ApiService {
this.env = 'local';
break;

case 'nrts-prc-dev.pathfinder.gov.bc.ca':
case 'acrfd-public-86cabb-dev.apps.silver.devops.gov.bc.ca':
// Dev
this.apiPath = 'https://nrts-prc-dev.pathfinder.gov.bc.ca/api/public';
this.adminUrl = 'https://nrts-prc-dev.pathfinder.gov.bc.ca/admin/';
this.apiPath = 'https://nrts-prc-api-86cabb-dev.apps.silver.devops.gov.bc.ca/api/public';
this.adminUrl = 'https://acrfd-admin-86cabb-dev.apps.silver.devops.gov.bc.ca/admin/';
this.env = 'dev';
break;
case 'acrfd-86cabb-dev.apps.silver.devops.gov.bc.ca':
Expand All @@ -85,25 +85,12 @@ export class ApiService {
this.adminUrl = 'https://acrfd-86cabb-dev.apps.silver.devops.gov.bc.ca/admin/';
this.env = 'dev';
break;

case 'nrts-prc-master.pathfinder.gov.bc.ca':
// Master
this.apiPath = 'https://nrts-prc-master.pathfinder.gov.bc.ca/api/public';
this.adminUrl = 'https://nrts-prc-master.pathfinder.gov.bc.ca/admin/';
this.env = 'master';
break;
case 'acrfd-86cabb-test.apps.silver.devops.gov.bc.ca':
// Dev
this.apiPath = 'https://acrfd-86cabb-test.apps.silver.devops.gov.bc.ca/api/public';
this.adminUrl = 'https://acrfd-86cabb-test.apps.silver.devops.gov.bc.ca/admin/';
this.env = 'test';
break;
case 'nrts-prc-test.pathfinder.gov.bc.ca':
// Test
this.apiPath = 'https://nrts-prc-test.pathfinder.gov.bc.ca/api/public';
this.adminUrl = 'https://nrts-prc-test.pathfinder.gov.bc.ca/admin/';
this.env = 'test';
break;

default:
// Prod
Expand Down

0 comments on commit 7e8e6dd

Please sign in to comment.