Skip to content

Commit

Permalink
Merge pull request #415 from SCCapstone/revert-414-newDomain
Browse files Browse the repository at this point in the history
Revert "New domain"
  • Loading branch information
evan-scales authored Mar 19, 2024
2 parents 0287d56 + c8a5ed7 commit f50bc87
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 === 'forces-unite.com'
window.location.hostname === 'jolly-glacier-0ae92c40f.4.azurestaticapps.net'
? 'https://fuapi.azurewebsites.net/api'
: import.meta.env.VITE_API_URL,
CHAT_HUB_URL:
window.location.hostname === 'forces-unite.com'
window.location.hostname === 'jolly-glacier-0ae92c40f.4.azurestaticapps.net'
? 'https://fuapi.azurewebsites.net/chathub'
: import.meta.env.VITE_API_URL.replace(/\/api$/, '') + '/chathub',
WAIT_TIME:
Expand Down

0 comments on commit f50bc87

Please sign in to comment.