Skip to content

Commit

Permalink
Merge pull request #414 from SCCapstone/newDomain
Browse files Browse the repository at this point in the history
New domain
  • Loading branch information
evan-scales authored Mar 19, 2024
2 parents f233c96 + 224c282 commit 0287d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FU.SPA/src/config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const config = {
API_URL:
window.location.hostname === 'jolly-glacier-0ae92c40f.4.azurestaticapps.net'
window.location.hostname === 'forces-unite.com'
? 'https://fuapi.azurewebsites.net/api'
: import.meta.env.VITE_API_URL,
CHAT_HUB_URL:
window.location.hostname === 'jolly-glacier-0ae92c40f.4.azurestaticapps.net'
window.location.hostname === 'forces-unite.com'
? 'https://fuapi.azurewebsites.net/chathub'
: import.meta.env.VITE_API_URL.replace(/\/api$/, '') + '/chathub',
WAIT_TIME:
Expand Down

0 comments on commit 0287d56

Please sign in to comment.