diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 3612073..058e317 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,3 +1,6 @@ export const environment = { - production: true + production: true, + api: 'https://crconnect.virginia.edu:5000', + googleAnalyticsKey: '', + irbUrl: 'https://www.irb.virginia.edu', }; diff --git a/src/environments/environment.staging.ts b/src/environments/environment.staging.ts new file mode 100644 index 0000000..3e996dd --- /dev/null +++ b/src/environments/environment.staging.ts @@ -0,0 +1,8 @@ +import {AppEnvironment} from 'sartography-workflow-lib/lib/types/app-environment'; + +export const environment: AppEnvironment = { + production: true, + api: 'http://workflow.sartography.com:5000/v1.0', + googleAnalyticsKey: '', + irbUrl: 'https://workflow.sartography.com:5001/pb', +}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 7b4f817..ef1245b 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -2,8 +2,13 @@ // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. -export const environment = { - production: false +import {AppEnvironment} from 'sartography-workflow-lib'; + +export const environment: AppEnvironment = { + production: false, + api: 'http://localhost:5000/v1.0', + googleAnalyticsKey: '', + irbUrl: 'https://workflow.sartography.com:5001/pb', }; /*