Create exchange rate service , use CORS proxy for requests

This commit is contained in:
2020-09-30 15:03:55 +02:00
parent b5700092a8
commit 25b2a8b0e5
7 changed files with 72 additions and 52 deletions
+5 -1
View File
@@ -55,7 +55,9 @@ module.exports = function(environment) {
gnosisSafe: {
txServiceHost: 'https://safe-transaction.mainnet.gnosis.io',
address: '0x9CC29b8373FF92B01C1f09F31B5DD862350c167E'
}
},
corsProxy: 'https://cors.5apps.com/?uri='
};
if (environment === 'development') {
@@ -75,6 +77,8 @@ module.exports = function(environment) {
protocol: 'http',
gatewayUrl: 'http://localhost:8080/ipfs'
};
ENV.corsProxy = 'https://cors-anywhere.herokuapp.com/';
}
if (environment === 'test') {