From c4d0f8b29c55a4504b21a4de6b171d106231bcb2 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 3 Oct 2023 18:58:29 -0300 Subject: [PATCH] pin host for demo --- configs/app/api.ts | 2 +- deploy/values/review/values.yaml.gotmpl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/app/api.ts b/configs/app/api.ts index 1f834eee17..d82aa6ec24 100644 --- a/configs/app/api.ts +++ b/configs/app/api.ts @@ -2,7 +2,7 @@ import stripTrailingSlash from 'lib/stripTrailingSlash'; import { getEnvValue } from './utils'; -const apiHost = getEnvValue('NEXT_PUBLIC_API_HOST'); +const apiHost = 'gnosis.blockscout.com' as string || getEnvValue('NEXT_PUBLIC_API_HOST'); const apiSchema = getEnvValue('NEXT_PUBLIC_API_PROTOCOL') || 'https'; const apiPort = getEnvValue('NEXT_PUBLIC_API_PORT'); const apiEndpoint = [ diff --git a/deploy/values/review/values.yaml.gotmpl b/deploy/values/review/values.yaml.gotmpl index d6b931bee0..c71400a923 100644 --- a/deploy/values/review/values.yaml.gotmpl +++ b/deploy/values/review/values.yaml.gotmpl @@ -132,3 +132,9 @@ frontend: _default: "['token_pocket','coinbase','metamask']" NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE: _default: gradient_avatar + NEXT_PUBLIC_USE_NEXT_JS_PROXY: + _default: true + NEXT_PUBLIC_BRIDGED_TOKENS_CHAINS: + _default: "[{'id':'1','title':'Ethereum','short_title':'ETH','base_url':'https://eth.blockscout.com/token/'},{'id':'56','title':'Binance Smart Chain','short_title':'BSC','base_url':'https://bscscan.com/token/'},{'id':'99','title':'POA','short_title':'POA','base_url':'https://blockscout.com/poa/core/token/'}]" + NEXT_PUBLIC_BRIDGED_TOKENS_BRIDGES: + _default: "[{'type':'omni','title':'OmniBridge','short_title':'OMNI'},{'type':'amb','title':'Arbitrary Message Bridge','short_title':'AMB'}]"