mirror of
https://github.com/kenzok8/openwrt-packages
synced 2025-01-07 07:06:45 +08:00
update 2024-06-21 20:10:00
This commit is contained in:
parent
fa4537f8c3
commit
6a10b1fbca
@ -11,7 +11,7 @@ LUCI_DEPENDS:=+luci-lib-xterm +taskd
|
||||
LUCI_EXTRA_DEPENDS:=taskd (>=1.0.3-1)
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
PKG_VERSION:=1.0.19
|
||||
PKG_VERSION:=1.0.20
|
||||
PKG_RELEASE:=
|
||||
PKG_MAINTAINER:=jjm2473 <jjm2473@gmail.com>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
if (oReq.status == 403) {
|
||||
alert($gettext("Lost login status"));
|
||||
location.href = location.href;
|
||||
} else if (oReq.status == 404) {
|
||||
} else if (oReq.status >= 400) {
|
||||
reject(oEvent);
|
||||
} else {
|
||||
resolve(oReq);
|
||||
@ -155,7 +155,7 @@
|
||||
}
|
||||
}).catch(err => {
|
||||
if (showing) {
|
||||
if (err.target.status == 0) {
|
||||
if (err.target.status == 0 || err.target.status == 502) {
|
||||
title_view.innerText = task_id + ' (' + $gettext("Fetch log failed, retrying...") + ')';
|
||||
setTimeout(()=>pulllog(true), 1000);
|
||||
} else if (err.target.status == 403 || err.target.status == 404) {
|
||||
|
Loading…
Reference in New Issue
Block a user