diff --git a/src/config.ts b/src/config.ts index df3180f5..cbdf4fe7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -5,7 +5,7 @@ let apiEndpoint = localStorage.RIVET_API_ENDPOINT || ENV_RIVET_API_ENDPOINT; if (apiEndpoint == '__AUTO__') { - if (location.hostname.startsWith('hub.')) { + if (location.hostname.startsWith('hub.') || location.hostname == 'old.rivet.gg') { // Connect to the corresponding API endpoint apiEndpoint = 'https://' + location.hostname.replace('hub.', 'api.'); } else {