mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 05:13:56 +08:00
Update luci-base.patch
This commit is contained in:
1 parent
5864cc5565
commit
31731ec3bb
1 file changed
+12
@@ -206,3 +206,15 @@
|
|||||||
"admin/network": {
|
"admin/network": {
|
||||||
"title": "Network",
|
"title": "Network",
|
||||||
"order": 60,
|
"order": 60,
|
||||||
|
|
||||||
|
--- a/luci-base/htdocs/luci-static/resources/rpc.js
|
||||||
|
+++ b/luci-base/htdocs/luci-static/resources/rpc.js
|
||||||
|
@@ -35,7 +35,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ {
|
||||||
|
}
|
||||||
|
|
||||||
|
return request.post(rpcBaseURL + q, req, {
|
||||||
|
- timeout: (L.env.rpctimeout ?? 20) * 1000,
|
||||||
|
+ timeout: (L.env.rpctimeout ?? 60) * 1000,
|
||||||
|
nobatch,
|
||||||
|
credentials: true
|
||||||
|
}).then(cb, cb);
|
||||||
Reference in new issue
Block a user