From ea417435acfb5a0fd6801876dd9e739756f480f0 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 9 Oct 2023 13:26:00 -0500 Subject: [PATCH] refactor: add os releases urls --- web/helpers/urls.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/helpers/urls.ts b/web/helpers/urls.ts index e0bfca39c..40d1b2b45 100644 --- a/web/helpers/urls.ts +++ b/web/helpers/urls.ts @@ -1,3 +1,4 @@ +import { OS_RELEASES } from '~/helpers/urls'; const ACCOUNT = new URL(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'); @@ -19,7 +20,9 @@ const WEBGUI_CONNECT_SETTINGS = new URL('#UnraidNetSettings', WEBGUI_SETTINGS_MA const WEBGUI_TOOLS_REGISTRATION = new URL('/Tools/Registration', WEBGUI); const WEBGUI_TOOLS_UPDATE = new URL('/Tools/Update', WEBGUI); -const OS_RELEASES = new URL('https://s3.amazonaws.com/dnld.lime-technology.com/stable/releases.json'); +const OS_RELEASES = new URL('https://next.dl.unraid.net/releases-combined.json'); +const OS_RELEASES_NEXT = new URL('https://next.dl.unraid.net/releases-combined.json'); +const OS_RELEASES_PREVIEW = new URL('https://preview.dl.unraid.net/releases-combined.json'); const DOCS_REGISTRATION_LICENSING = new URL('/unraid-os/faq/licensing-faq', DOCS); const DOCS_REGISTRATION_REPLACE_KEY = new URL('/unraid-os/manual/changing-the-flash-device', DOCS); @@ -36,6 +39,8 @@ export { FORUMS_BUG_REPORT, PURCHASE_CALLBACK, OS_RELEASES, + OS_RELEASES_NEXT, + OS_RELEASES_PREVIEW, DOCS_REGISTRATION_LICENSING, DOCS_REGISTRATION_REPLACE_KEY, WEBGUI,