From e28d0a69c33a8c3843320b6b6daef7d5eff514ce Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 19 Oct 2022 19:31:19 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../share/template-files/config/aria2/aria-ng.config.js | 8 ++++---- .../local/share/template-files/config/aria2/aria2.conf | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rootfs/usr/local/share/template-files/config/aria2/aria-ng.config.js b/rootfs/usr/local/share/template-files/config/aria2/aria-ng.config.js index 47c6a6b..d6f96f7 100755 --- a/rootfs/usr/local/share/template-files/config/aria2/aria-ng.config.js +++ b/rootfs/usr/local/share/template-files/config/aria2/aria-ng.config.js @@ -524,10 +524,10 @@ titleRefreshInterval: 5e3, browserNotification: !1, rpcAlias: '', - rpcHost: 'localhost', + rpcHost: '127.0.0.1', rpcPort: '8080', rpcInterface: 'jsonrpc', - protocol: 'ws', + protocol: 'http', httpMethod: 'POST', secret: '', extendRpcServers: [], @@ -2106,7 +2106,7 @@ 'rpc-listen-port': { type: 'integer', readonly: !0, - defaultValue: '6080', + defaultValue: '8080', }, 'rpc-max-request-size': { type: 'string', @@ -2161,7 +2161,7 @@ type: 'option', options: ['debug', 'info', 'notice', 'warn', 'error'], readonly: !0, - defaultValue: 'notice', + defaultValue: 'warn', }, 'content-disposition-default-utf8': { since: '1.31.0', diff --git a/rootfs/usr/local/share/template-files/config/aria2/aria2.conf b/rootfs/usr/local/share/template-files/config/aria2/aria2.conf index 16030ed..9219442 100644 --- a/rootfs/usr/local/share/template-files/config/aria2/aria2.conf +++ b/rootfs/usr/local/share/template-files/config/aria2/aria2.conf @@ -18,7 +18,7 @@ max-download-limit=0 max-overall-upload-limit=0 max-upload-limit=0 file-allocation=prealloc -console-log-level=notice +console-log-level=warn save-session-interval=10 max-upload-limit=0 bt-tracker=udp://62.138.0.158:6969/announce,udp://188.241.58.209:6969/announce,udp://151.80.120.112:2710/announce,udp://151.80.120.114:2710/announce,udp://93.158.213.92:1337/announce,udp://185.19.107.254:80/announce,udp://185.225.17.100:1337/announce,udp://208.83.20.20:6969/announce,udp://5.206.19.247:6969/announce,udp://37.235.174.46:2710/announce,udp://142.44.243.4:1337/announce,udp://195.154.52.99:80/announce,udp://54.37.235.149:6969/announce,udp://212.1.226.176:2710/announce,udp://89.234.156.205:451/announce,udp://159.100.245.181:6969/announce,udp://45.56.74.11:6969/announce,udp://51.15.226.113:6969/announce,udp://176.113.71.19:6961/announce,udp://51.15.40.114:80/announce