Fix Telegram Backup IP fetching

This commit is contained in:
SukkaW
2026-01-29 17:25:31 +08:00
parent 911852b0c6
commit b04a9b5047
2 changed files with 3 additions and 1 deletions

View File

@@ -177,6 +177,8 @@ export async function $$fetch(url: string, init: RequestInit = defaultRequestIni
}
}
export { $$fetch as '~fetch' };
/** @deprecated -- undici.requests doesn't support gzip/br/deflate, and has difficulty w/ undidi cache */
export async function requestWithLog(url: string, opt?: Parameters<typeof undici.request>[1]) {
try {