mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +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",
|
||||
"delay": "^5.0.0",
|
||||
"eventsource": "^2.0.2",
|
||||
"http": "0.0.1-security",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"keyv": "^4.5.2",
|
||||
"keyv-file": "^0.2.0",
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ export class OfficialChatGPTClient {
|
|||
},
|
||||
referrer: 'https://chat.openai.com/chat'
|
||||
}
|
||||
logger.info('using api3 reverse proxy: ' + url)
|
||||
let requestLib = url.startsWith('https') ? https : http
|
||||
const req = requestLib.request(url, option, (res) => {
|
||||
statusCode = res.statusCode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue