refactor(core): migrate to Bun and converge acquisition policies and Agent boundaries
This commit is contained in:
1 parent
3f1c6d02f6
commit
27c0f27434
268 files changed
+7468
-7852
No files matched your search
@@ -78,7 +78,7 @@ describe.skipIf(!up)("发现页接口", () => {
|
||||
settings: plainSettings(() => db),
|
||||
capabilities: createCapabilityRegistry({ logger }),
|
||||
} as ServerContext;
|
||||
const metaFetch: typeof fetch = async (input, init) => {
|
||||
const metaFetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> = async (input, init) => {
|
||||
const u = new URL(typeof input === "string" ? input : input instanceof URL ? input.href : input.url);
|
||||
meta.push(`${init?.method ?? "GET"} ${u.host}${u.pathname}${u.search}`);
|
||||
if (u.pathname.startsWith("/rexxar/api/v2/subject_collection/")) return doubanReply();
|
||||
|
||||
Reference in new issue
Block a user