From e0c5e2bb8a78dc3ef5bc48bbed29564c5498344e Mon Sep 17 00:00:00 2001 From: nicolas Date: Tue, 28 Apr 2020 14:32:10 -0300 Subject: [PATCH 1/2] update apps list (#830) --- src/routes/safe/components/Apps/utils.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/routes/safe/components/Apps/utils.js b/src/routes/safe/components/Apps/utils.js index 271ed738..70965b29 100644 --- a/src/routes/safe/components/Apps/utils.js +++ b/src/routes/safe/components/Apps/utils.js @@ -3,11 +3,14 @@ import axios from 'axios' import appsIconSvg from '~/routes/safe/components/Transactions/TxsTable/TxType/assets/appsIcon.svg' +const gnosisAppsUrl = process.env.REACT_APP_GNOSIS_APPS_URL export const staticAppsList = [ - { url: `${process.env.REACT_APP_GNOSIS_APPS_URL}/compound`, disabled: false }, - { url: `${process.env.REACT_APP_GNOSIS_APPS_URL}/uniswap`, disabled: false }, - { url: `${process.env.REACT_APP_GNOSIS_APPS_URL}/nexus-mutual`, disabled: false }, - { url: `${process.env.REACT_APP_GNOSIS_APPS_URL}/ens`, disabled: false }, + { url: `${gnosisAppsUrl}/compound`, disabled: false }, + { url: `${gnosisAppsUrl}/aave`, disabled: false }, + { url: `${gnosisAppsUrl}/pool-together`, disabled: false }, + { url: `${gnosisAppsUrl}/open-zeppelin`, disabled: false }, + { url: `${gnosisAppsUrl}/request`, disabled: false }, + { url: `${gnosisAppsUrl}/synthetix`, disabled: false }, ] export const getAppInfoFromOrigin = (origin: string) => { From 664fcd7bc03b504f98757c049e50475231691ff2 Mon Sep 17 00:00:00 2001 From: Giacomo Licari Date: Wed, 29 Apr 2020 10:18:57 +0200 Subject: [PATCH 2/2] Handle REACT_APP_GNOSIS_APPS_URL env variable on Travis CI configuration --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8ecf3dc7..f907cbe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,11 @@ matrix: - env: - REACT_APP_NETWORK='mainnet' - STAGING_BUCKET_NAME=${STAGING_MAINNET_BUCKET_NAME} + - REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_PROD} if: (branch = master AND NOT type = pull_request) OR tag IS present - env: - REACT_APP_NETWORK='rinkeby' + - REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_STAGING} before_install: # Needed to deploy pull request and releases - sudo apt-get update