diff --git a/web/helpers/urls.ts b/web/helpers/urls.ts index 52e537dc3..b16b2e72e 100644 --- a/web/helpers/urls.ts +++ b/web/helpers/urls.ts @@ -1,7 +1,7 @@ -const ACCOUNT = new URL(sessionStorage.getItem('unraidAccount') ?? import.meta.env.VITE_ACCOUNT ?? 'https://account.unraid.net'); +const ACCOUNT = new URL(sessionStorage.getItem('unraidAccountUrl') ?? import.meta.env.VITE_ACCOUNT ?? 'https://account.unraid.net'); const DOCS = new URL('https://docs.unraid.net'); const FORUMS = new URL('https://forums.unraid.net'); -const UNRAID_NET = new URL(sessionStorage.getItem('unraidPurchase') ?? import.meta.env.VITE_UNRAID_NET ?? 'https://unraid.net'); +const UNRAID_NET = new URL(sessionStorage.getItem('unraidPurchaseUrl') ?? import.meta.env.VITE_UNRAID_NET ?? 'https://unraid.net'); const ACCOUNT_CALLBACK = new URL('c', ACCOUNT); const FORUMS_BUG_REPORT = new URL('/bug-reports', FORUMS);