Merge pull request #651 from gnosis/hotfix/update-endpoints
Update safe relay and transaction endpoints
This commit is contained in:
commit
8b578cae05
|
@ -27,7 +27,7 @@ before_install:
|
||||||
# Install truffle
|
# Install truffle
|
||||||
- yarn global add truffle
|
- yarn global add truffle
|
||||||
script:
|
script:
|
||||||
- bash ./config/travis/build.sh
|
- ./config/travis/build.sh
|
||||||
after_success:
|
after_success:
|
||||||
# Pull Request - Deploy it to a review environment
|
# Pull Request - Deploy it to a review environment
|
||||||
# Travis doesn't do deploy step with pull requests builds
|
# Travis doesn't do deploy step with pull requests builds
|
||||||
|
@ -69,6 +69,6 @@ deploy:
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
- provider: script
|
- provider: script
|
||||||
script: bash config/travis/prepare_production_deployment.sh
|
script: ./config/travis/prepare_production_deployment.sh
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
|
@ -2,7 +2,12 @@
|
||||||
|
|
||||||
export NODE_ENV=production;
|
export NODE_ENV=production;
|
||||||
|
|
||||||
if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi
|
if [[ -n "$TRAVIS_TAG" ]]; then
|
||||||
|
export REACT_APP_ENV='production';
|
||||||
|
elif [[ "$TRAVIS_BRANCH" == "development" ]]; then
|
||||||
|
export NODE_ENV=development;
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
yarn lint:check
|
yarn lint:check
|
||||||
yarn prettier:check
|
yarn prettier:check
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { TX_SERVICE_HOST, RELAY_API_URL } from '~/config/names'
|
||||||
const devMainnetConfig = {
|
const devMainnetConfig = {
|
||||||
...devConfig,
|
...devConfig,
|
||||||
[TX_SERVICE_HOST]: 'https://safe-transaction.mainnet.staging.gnosisdev.com/api/v1/',
|
[TX_SERVICE_HOST]: 'https://safe-transaction.mainnet.staging.gnosisdev.com/api/v1/',
|
||||||
[RELAY_API_URL]: 'https://safe-relay.gnosis.io/api/v1/',
|
[RELAY_API_URL]: 'https://safe-relay.mainnet.staging.gnosisdev.com/api/v1/',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default devMainnetConfig
|
export default devMainnetConfig
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { TX_SERVICE_HOST, SIGNATURES_VIA_METAMASK, RELAY_API_URL } from '~/confi
|
||||||
const prodConfig = {
|
const prodConfig = {
|
||||||
[TX_SERVICE_HOST]: 'https://safe-transaction.rinkeby.gnosis.io/api/v1/',
|
[TX_SERVICE_HOST]: 'https://safe-transaction.rinkeby.gnosis.io/api/v1/',
|
||||||
[SIGNATURES_VIA_METAMASK]: false,
|
[SIGNATURES_VIA_METAMASK]: false,
|
||||||
[RELAY_API_URL]: 'https://safe-relay.staging.gnosisdev.com/api/v1/',
|
[RELAY_API_URL]: 'https://safe-relay.rinkeby.gnosis.io/api/v1/',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default prodConfig
|
export default prodConfig
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { TX_SERVICE_HOST, RELAY_API_URL } from '~/config/names'
|
||||||
const stagingMainnetConfig = {
|
const stagingMainnetConfig = {
|
||||||
...stagingConfig,
|
...stagingConfig,
|
||||||
[TX_SERVICE_HOST]: 'https://safe-transaction.mainnet.staging.gnosisdev.com/api/v1/',
|
[TX_SERVICE_HOST]: 'https://safe-transaction.mainnet.staging.gnosisdev.com/api/v1/',
|
||||||
[RELAY_API_URL]: 'https://safe-relay.gnosis.io/api/v1/',
|
[RELAY_API_URL]: 'https://safe-relay.mainnet.staging.gnosisdev.com/api/v1/',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default stagingMainnetConfig
|
export default stagingMainnetConfig
|
||||||
|
|
Loading…
Reference in New Issue