mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: import error
This commit is contained in:
parent
b743259e78
commit
078d31dc57
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import crypto from 'crypto'
|
|||
// import initCycleTLS from 'cycletls'
|
||||
let initCycleTLS
|
||||
try {
|
||||
initCycleTLS = await import('cycletls')
|
||||
initCycleTLS = (await import('cycletls')).default
|
||||
} catch (err) {
|
||||
console.warn('未安装cycletls,无法使用claude2功能。')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue