Skip to content

Commit

Permalink
Fix download
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangao authored and zhangao committed Aug 5, 2023
1 parent bb31303 commit 4ee2a96
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 40 deletions.
2 changes: 1 addition & 1 deletion src/aliapi/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default class AliUser {

static async ApiUserVip(token: ITokenInfo): Promise<boolean> {
if (!token.user_id) return false
const url = 'v1.0/user/getVipInfo'
const url = 'https://openapi.aliyundrive.com/v1.0/user/getVipInfo'
const postData = {}
const resp = await AliHttp.Post(url, postData, token.user_id, '')
if (AliHttp.IsSuccess(resp.code)) {
Expand Down
80 changes: 41 additions & 39 deletions static/engine/aria2.conf
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
################ RPC ################
enable-rpc=true
rpc-secret=S4znWTaZYQi3cpRNb
rpc-secure=false
rpc-allow-origin-all=true
rpc-listen-all=false

################ File ################
auto-save-interval=10
disk-cache=64M
file-allocation=trunc
no-file-allocation-limit=64M

################ Task ################
disable-ipv6=true
check-certificate=false
max-tries=0
retry-wait=10
connect-timeout=10
timeout=10
min-split-size=1M
http-accept-gzip=true
remote-time=true
summary-interval=0
content-disposition-default-utf8=true

################ BT ################
bt-enable-lpd=false
enable-dht=false
enable-dht6=false
enable-peer-exchange=false
bt-request-peer-speed-limit=1
bt-save-metadata=false
dht-file-path=
dht-file-path6=
seed-time=0
force-save=false
follow-metalink=false
follow-torrent=false
# debug, info, notice, warn or error
log-level=error
file-allocation=trunc
user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
max-concurrent-downloads=64
max-connection-per-server=16
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=false
rpc-secret=S4znWTaZYQi3cpRNb
rpc-secure=false
pause-metadata=true
http-no-cache=true
disk-cache=64M
no-file-allocation-limit=64M
remote-time=true
summary-interval=0
content-disposition-default-utf8=true
continue=true
allow-overwrite=true
auto-file-renaming=false
max-download-result=1000
no-netrc=true
reuse-uri=true
quiet=true
disable-ipv6=false
check-certificate=false
save-session=
save-session-interval=0
follow-metalink=false
follow-torrent=false
enable-dht=false
enable-dht6=false
bt-enable-lpd=false
enable-peer-exchange=false
bt-request-peer-speed-limit=1
dht-file-path=
dht-file-path6=
seed-time=0
force-save=false
bt-save-metadata=false

0 comments on commit 4ee2a96

Please sign in to comment.