Skip to content

Commit

Permalink
chore: add api for old.eg.rivet.gg
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 10, 2024
1 parent c9d6aa1 commit 301d3b6
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 @@ -7,7 +7,7 @@ let apiEndpoint = localStorage.RIVET_API_ENDPOINT || ENV_RIVET_API_ENDPOINT;
if (apiEndpoint == '__AUTO__') {
if (location.hostname == 'old.rivet.gg' || location.hostname == 'old.hub-3av.pages.dev') {
apiEndpoint = 'https://api.rivet.gg';
} else if (location.hostname == 'eg.rivet.gg') {
} else if (location.hostname == 'hub.eg.rivet.gg') {
apiEndpoint = 'https://api.eg.rivet.gg';
} else if (location.hostname.startsWith('hub.')) {
// Connect to the corresponding API endpoint
Expand Down

0 comments on commit 301d3b6

Please sign in to comment.