Adds environment files

This commit is contained in:
Aaron Louie 2020-01-11 10:39:06 -05:00
parent a5bd8d248b
commit 806272d7a8
3 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,6 @@
export const environment = { export const environment = {
production: true production: true,
api: 'https://crconnect.virginia.edu:5000',
googleAnalyticsKey: '',
irbUrl: 'https://www.irb.virginia.edu',
}; };

View File

@ -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',
};

View File

@ -2,8 +2,13 @@
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`. // The list of file replacements can be found in `angular.json`.
export const environment = { import {AppEnvironment} from 'sartography-workflow-lib';
production: false
export const environment: AppEnvironment = {
production: false,
api: 'http://localhost:5000/v1.0',
googleAnalyticsKey: '',
irbUrl: 'https://workflow.sartography.com:5001/pb',
}; };
/* /*