Fix: bail Firestore fetch out of HTTP cache

This commit is contained in:
SukkaW
2025-08-11 22:15:32 +08:00
parent ff60e86a77
commit 0a00d8409a
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
import picocolors from 'picocolors';
import undici, {
interceptors,
Agent,
setGlobalDispatcher
Agent
// setGlobalDispatcher
} from 'undici';
import type {
@@ -25,7 +25,7 @@ if (!fs.existsSync(CACHE_DIR)) {
const agent = new Agent({ allowH2: true });
setGlobalDispatcher(agent.compose(
(agent.compose(
interceptors.dns({
// disable IPv6
dualStack: false,