mirror of
https://github.com/unraid/api.git
synced 2026-05-12 10:40:09 -05:00
refactor: use env vars for os releases urls
This commit is contained in:
+3
-3
@@ -20,9 +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://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 OS_RELEASES = new URL(import.meta.env.VITE_OS_RELEASES ?? 'https://next.dl.unraid.net/releases-combined.json');
|
||||
const OS_RELEASES_NEXT = new URL(import.meta.env.VITE_OS_RELEASES_NEXT ?? 'https://next.dl.unraid.net/releases-combined.json');
|
||||
const OS_RELEASES_PREVIEW = new URL(import.meta.env.VITE_OS_RELEASES_PREVIEW ?? '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);
|
||||
|
||||
Reference in New Issue
Block a user