From dd44576f2827f7d8362b32dd2de49f3e2248bd87 Mon Sep 17 00:00:00 2001 From: Ino Murko <2582555+InoMurko@users.noreply.github.com> Date: Thu, 16 Dec 2021 15:05:21 +0100 Subject: [PATCH] configurable GATEWAY_URL --- src/utils/constants.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index c0296d4246..8a7abb012f 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -42,4 +42,7 @@ const isProdGateway = () => { } export const GATEWAY_URL = - IS_PRODUCTION || isProdGateway() ? 'https://safe-client.gnosis.io/v1' : 'https://safe-client.staging.gnosisdev.com/v1' + process.env.GATEWAY_URL || + (IS_PRODUCTION || isProdGateway() + ? 'https://safe-client.gnosis.io/v1' + : 'https://safe-client.staging.gnosisdev.com/v1')