mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +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'
|
// import initCycleTLS from 'cycletls'
|
||||||
let initCycleTLS
|
let initCycleTLS
|
||||||
try {
|
try {
|
||||||
initCycleTLS = await import('cycletls')
|
initCycleTLS = (await import('cycletls')).default
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.warn('未安装cycletls,无法使用claude2功能。')
|
console.warn('未安装cycletls,无法使用claude2功能。')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue