From 96aa21bcdb8c786f84c1836df8662f124e8588fb Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sat, 10 Mar 2018 23:17:46 -0600 Subject: [PATCH] web-ui: Add API url to the environments --- web-ui/src/environments/environment.prod.ts | 6 +++++- web-ui/src/environments/environment.ts | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/web-ui/src/environments/environment.prod.ts b/web-ui/src/environments/environment.prod.ts index 3612073..7412455 100644 --- a/web-ui/src/environments/environment.prod.ts +++ b/web-ui/src/environments/environment.prod.ts @@ -1,3 +1,7 @@ export const environment = { - production: true + production: true, + api: { + // TODO: replace with the correct value + url: 'http://localhost:9000' + } }; diff --git a/web-ui/src/environments/environment.ts b/web-ui/src/environments/environment.ts index b7f639a..912fadf 100644 --- a/web-ui/src/environments/environment.ts +++ b/web-ui/src/environments/environment.ts @@ -4,5 +4,8 @@ // The list of which env maps to which file can be found in `.angular-cli.json`. export const environment = { - production: false + production: false, + api: { + url: 'http://localhost:9000' + } };