mirror of
https://github.com/unraid/api.git
synced 2026-05-19 23:48:42 -05:00
chore: don't disable apollo in dev mode
This commit is contained in:
@@ -10,6 +10,7 @@ import { WEBGUI_GRAPHQL } from './urls';
|
||||
|
||||
const httpEndpoint = WEBGUI_GRAPHQL;
|
||||
const wsEndpoint = new URL(WEBGUI_GRAPHQL.toString().replace('http', 'ws'));
|
||||
const DEV_MODE = (globalThis as unknown as { __DEV__: boolean }).__DEV__ ?? false;
|
||||
|
||||
const headers = {
|
||||
'x-csrf-token': globalThis.csrf_token ?? '0000000000000000',
|
||||
|
||||
Reference in New Issue
Block a user