mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
refactor(web): graphql url helper
This commit is contained in:
@@ -9,8 +9,8 @@ const CONNECT_DOCS = new URL('https://docs.unraid.net/category/unraid-connect');
|
||||
const CONNECT_DASHBOARD = new URL(import.meta.env.VITE_CONNECT ?? 'https://connect.myunraid.net');
|
||||
const CONNECT_FORUMS = new URL('https://forums.unraid.net/forum/94-connect-plugin-support/');
|
||||
const CONTACT = new URL('/contact', UNRAID_NET);
|
||||
const DEV_GRAPH_URL = '';
|
||||
const DISCORD = new URL('https://discord.gg/unraid');
|
||||
const GRAPHQL = new URL('/graphql', import.meta.env.VITE_GRAPHQL ?? window.location.origin);
|
||||
const PURCHASE_CALLBACK = new URL('/c', UNRAID_NET);
|
||||
|
||||
const SETTINGS_MANAGMENT_ACCESS = new URL('/Settings/ManagementAccess', window.location.origin);
|
||||
@@ -23,8 +23,8 @@ export {
|
||||
CONNECT_DOCS,
|
||||
CONNECT_FORUMS,
|
||||
CONTACT,
|
||||
DEV_GRAPH_URL,
|
||||
DISCORD,
|
||||
GRAPHQL,
|
||||
PURCHASE_CALLBACK,
|
||||
PLUGIN_SETTINGS,
|
||||
SETTINGS_MANAGMENT_ACCESS,
|
||||
|
||||
Reference in New Issue
Block a user