From fc183adb3c7fd63ed0c89abff3d02d071b685aba Mon Sep 17 00:00:00 2001 From: Matt Stover Date: Fri, 10 Nov 2023 09:50:05 -0800 Subject: [PATCH] fix: allow passing in full api url --- config/dynamic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dynamic.js b/config/dynamic.js index 5af8991c1f..cb1075bdd7 100644 --- a/config/dynamic.js +++ b/config/dynamic.js @@ -63,7 +63,7 @@ module.exports = { merchantId: '10620948091453922228' }, googleTagmanagerId: process.env.GOOGLE_TAG_MANAGER_ID || 'GTM-PXFRMT', - graphqlUri: `https://gateway.${baseUrl}/graphql`, + graphqlUri: process.env.API_HOSTNAME || `https://gateway.${baseUrl}/graphql`, grecaptchaSitekey: process.env.G_RECAPTCHA_SITE_KEY || '6LcXENcmAAAAAEC4ygspn1WTm4zP4gLexXDnWuXE', host: `www.${baseUrl}`, hotjarId: process.env.HOTJAR_ID || '3071239',