mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
fix: 修复初始化脚本
This commit is contained in:
+6
-1
@@ -116,7 +116,12 @@ async function downloadFileOnce(url, destPath, proxyUrl = null) {
|
||||
retry: {
|
||||
limit: 0
|
||||
},
|
||||
headerGeneratorOptions: null,
|
||||
headerGeneratorOptions: {
|
||||
browsers: [],
|
||||
devices: [],
|
||||
locales: [],
|
||||
operatingSystems: []
|
||||
},
|
||||
headers: {
|
||||
'user-agent': 'Wget/1.21.4 (linux-gnu)',
|
||||
'accept': '*/*',
|
||||
|
||||
Reference in New Issue
Block a user