Skip to content

Commit

Permalink
Use relative urls for bin paths (#207)
Browse files Browse the repository at this point in the history
Co-authored-by: Brendan Robert <[email protected]>
  • Loading branch information
badvision and Brendan Robert authored Apr 3, 2024
1 parent 7e989e5 commit 4d938a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apis/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d938a7

Please sign in to comment.