This commit is contained in:
2026-03-06 04:05:46 +05:00
parent ed1f3b3a75
commit 683138a85c
2 changed files with 17 additions and 15 deletions

View File

@@ -17,6 +17,9 @@
// Must be module-level so it's captured at import time.
const _nativeFetch: typeof fetch = globalThis.fetch.bind(globalThis);
/** Direct (non-proxied) fetch — always bypasses the proxy. Use for IP comparison. */
export const nativeFetch: typeof fetch = _nativeFetch;
// ─── Runtime proxy config (set via API / UI) ─────────────────────────────────
let _runtimeProxyUrl: string | null = null;