From 9fa9852ded148cfdcaee286003e801c797d7c995 Mon Sep 17 00:00:00 2001 From: Spencer Ofwiti Date: Mon, 15 Mar 2021 19:26:53 +0300 Subject: [PATCH] Refactor config variables. --- README.md | 6 ++++++ src/environments/environment.prod.ts | 2 +- src/environments/environment.ts | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b213a89..d7709f6 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 6438ea8..9420cd6 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -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' }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 95fe366..3e79e43 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -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' };