Skip to content

Commit

Permalink
chore: fix old.rivet.gg
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 5, 2024
1 parent 71179f6 commit 6bac59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

let apiEndpoint = localStorage.RIVET_API_ENDPOINT || ENV_RIVET_API_ENDPOINT;
if (apiEndpoint == '__AUTO__') {
if (location.hostname == 'old.rivet.gg') {
if (location.hostname == 'old.rivet.gg' || location.hostname == 'old.hub-3av.pages.dev') {
apiEndpoint = 'https://api.rivet.gg';
} else if (location.hostname.startsWith('hub.')) {
// Connect to the corresponding API endpoint
Expand Down

0 comments on commit 6bac59f

Please sign in to comment.