forked from github-mirror/Verome-API
fix
This commit is contained in:
3
proxy.ts
3
proxy.ts
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user