webchat: move serving to relay loopback and tunnel from mac app
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
import { ProxyAgent } from "undici";
|
||||
|
||||
export function makeProxyFetch(proxyUrl: string): typeof fetch {
|
||||
@@ -5,4 +6,3 @@ export function makeProxyFetch(proxyUrl: string): typeof fetch {
|
||||
return (input: RequestInfo | URL, init?: RequestInit) =>
|
||||
fetch(input, { ...(init ?? {}), dispatcher: agent });
|
||||
}
|
||||
// @ts-nocheck
|
||||
|
||||
Reference in New Issue
Block a user