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: {
|
retry: {
|
||||||
limit: 0
|
limit: 0
|
||||||
},
|
},
|
||||||
headerGeneratorOptions: null,
|
headerGeneratorOptions: {
|
||||||
|
browsers: [],
|
||||||
|
devices: [],
|
||||||
|
locales: [],
|
||||||
|
operatingSystems: []
|
||||||
|
},
|
||||||
headers: {
|
headers: {
|
||||||
'user-agent': 'Wget/1.21.4 (linux-gnu)',
|
'user-agent': 'Wget/1.21.4 (linux-gnu)',
|
||||||
'accept': '*/*',
|
'accept': '*/*',
|
||||||
|
|||||||
Reference in New Issue
Block a user