diff --git a/src/config.ts b/src/config.ts index 6d434db0..877b0f9b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -7,6 +7,8 @@ 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 == 'old.eg.rivet.gg') { + apiEndpoint = 'https://api.rivet.gg'; } else if (location.hostname.startsWith('hub.')) { // Connect to the corresponding API endpoint apiEndpoint = 'https://' + location.hostname.replace('hub.', 'api.');