perf: 专线代理配置

This commit is contained in:
archer
2023-04-08 20:49:15 +08:00
parent 52d00d0562
commit 705ac1c27e
15 changed files with 52 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
import type { Mongoose } from 'mongoose';
import type { RedisClientType } from 'redis';
import type { Agent } from 'http';
declare global {
var mongodb: Mongoose | string | null;
@@ -8,6 +9,9 @@ declare global {
var generatingAbstract: boolean;
var generatingVector: boolean;
var QRCode: any;
var httpsAgentFast: Agent;
var httpsAgentNormal: Agent;
interface Window {
['pdfjs-dist/build/pdf']: any;
}