Refactor config variables.

This commit is contained in:
Spencer Ofwiti 2021-03-15 19:26:53 +03:00
parent 37a6f24201
commit 9fa9852ded
3 changed files with 9 additions and 3 deletions

View File

@ -28,6 +28,12 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Environment variables
Environment variables are contained in the directory `src/environments/`
It contains environment variables for development on `environment.ts` and production on `environment.prod.ts`.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

View File

@ -14,6 +14,6 @@ export const environment = {
web3Provider: 'ws://localhost:63546',
cicUssdUrl: 'http://localhost:63315',
cicEthUrl: 'http://localhost:63314',
registryAddress: '0xf374d7B507767101a4bf3bA2a6B99AC737A44f6d',
registryAddress: '0x6Ca3cB14aA6F761712E1C18646AfBA4d5Ae249E8',
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C'
};

View File

@ -10,7 +10,7 @@ export const environment = {
level: NgxLoggerLevel.TRACE,
serverLogLevel: NgxLoggerLevel.ERROR,
loggingUrl: 'http://localhost:8000',
cicAuthUrl: 'http://localhost:8080',
cicAuthUrl: 'https://meta.dev.grassrootseconomics.net',
cicMetaUrl: 'http://localhost:63380',
publicKeysUrl: 'http://localhost:8000',
cicCacheUrl: 'http://localhost:63313',
@ -18,7 +18,7 @@ export const environment = {
web3Provider: 'ws://localhost:63546',
cicUssdUrl: 'http://localhost:63315',
cicEthUrl: 'http://localhost:63314',
registryAddress: '0xf374d7B507767101a4bf3bA2a6B99AC737A44f6d',
registryAddress: '0x6Ca3cB14aA6F761712E1C18646AfBA4d5Ae249E8',
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C'
};