From c14a6b5c83cfffe0a7e1e3de50f64f96bfc7449a Mon Sep 17 00:00:00 2001 From: Olivier Freyssinet Date: Thu, 24 Feb 2022 12:30:17 +0100 Subject: [PATCH 1/2] Add env var to enable learn staging URL --- src/env.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/env.ts b/src/env.ts index b699d82027..df50d607d5 100644 --- a/src/env.ts +++ b/src/env.ts @@ -560,6 +560,11 @@ const envDefinitions = { parser: stringParser, desc: "Market data api", }, + USE_LEARN_STAGING_URL: { + def: false, + parser: boolParser, + desc: "use the staging URL for the learn page" + }, }; const getDefinition = (name: string): EnvDef | null | undefined => From 2f45ba69762673923fd8c647fedeae651a4c5927 Mon Sep 17 00:00:00 2001 From: Olivier Freyssinet Date: Tue, 1 Mar 2022 10:32:21 +0100 Subject: [PATCH 2/2] lint --- src/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.ts b/src/env.ts index df50d607d5..29f1e051d2 100644 --- a/src/env.ts +++ b/src/env.ts @@ -563,7 +563,7 @@ const envDefinitions = { USE_LEARN_STAGING_URL: { def: false, parser: boolParser, - desc: "use the staging URL for the learn page" + desc: "use the staging URL for the learn page", }, };