mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 移除多余的依赖
This commit is contained in:
parent
20f46717aa
commit
f8e741b0ca
2 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
"chatgpt": "^5.1.1",
|
"chatgpt": "^5.1.1",
|
||||||
"delay": "^5.0.0",
|
"delay": "^5.0.0",
|
||||||
"eventsource": "^2.0.2",
|
"eventsource": "^2.0.2",
|
||||||
"http": "0.0.1-security",
|
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"keyv": "^4.5.2",
|
"keyv": "^4.5.2",
|
||||||
"keyv-file": "^0.2.0",
|
"keyv-file": "^0.2.0",
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ export class OfficialChatGPTClient {
|
||||||
},
|
},
|
||||||
referrer: 'https://chat.openai.com/chat'
|
referrer: 'https://chat.openai.com/chat'
|
||||||
}
|
}
|
||||||
|
logger.info('using api3 reverse proxy: ' + url)
|
||||||
let requestLib = url.startsWith('https') ? https : http
|
let requestLib = url.startsWith('https') ? https : http
|
||||||
const req = requestLib.request(url, option, (res) => {
|
const req = requestLib.request(url, option, (res) => {
|
||||||
statusCode = res.statusCode
|
statusCode = res.statusCode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue