Browse Source

web-ui: Add API url to the environments

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
96aa21bcdb
  1. 6
      web-ui/src/environments/environment.prod.ts
  2. 5
      web-ui/src/environments/environment.ts

6
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'
}
};

5
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'
}
};

Loading…
Cancel
Save