From 796d053baf0c00e6acf07f6db8f4ee6e65f6c724 Mon Sep 17 00:00:00 2001 From: Brendan Robert Date: Wed, 3 Apr 2024 12:24:05 -0500 Subject: [PATCH] Use relative urls for bin paths --- scripts/apis/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apis/user.js b/scripts/apis/user.js index 550d13a7..2784c8bc 100644 --- a/scripts/apis/user.js +++ b/scripts/apis/user.js @@ -4,7 +4,7 @@ const urlParams = new URLSearchParams(window.location.search); export const DOMAIN = urlParams.get('env') === 'stage' ? 'ignite-staging.bhhs.com' : 'www.bhhs.com'; -const API_URL = `https://${DOMAIN}/bin/bhhs`; +const API_URL = '/bin/bhhs'; /** * Confirms if user is logged in or not