mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: add timeout for https
This commit is contained in:
parent
006abb3257
commit
966ea2d016
1 changed files with 2 additions and 1 deletions
|
|
@ -90,7 +90,8 @@ export class ChatGLM4Client extends BaseClient {
|
|||
referer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
||||
origin: 'https://www.chatglm.cn'
|
||||
},
|
||||
referrer: 'https://www.chatglm.cn/main/alltoolsdetail'
|
||||
referrer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
||||
timeout: 60000
|
||||
}
|
||||
const req = https.request(BASEURL, option, (res) => {
|
||||
statusCode = res.statusCode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue