chore: don't disable apollo in dev mode

This commit is contained in:
Eli Bosley
2025-04-21 15:52:07 -04:00
parent d3adbafbff
commit 00b1c1b0c7
+1
View File
@@ -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',