update 2025-03-06 10:52:13
This commit is contained in:
parent
46ab75a956
commit
1f61fb1b78
|
@ -2,9 +2,9 @@
|
|||
|
||||
## Structure
|
||||
|
||||
**remote:** `http[s]://[auth@]<host><path>?fmt=<format>&behav=<behavior>[&key=value][#label]`
|
||||
**local:** `file://[host]<path>?fmt=<format>&behav=<behavior>[&fill=<base64edStr>][#label]`
|
||||
**inline:** `inline://<Base64edStr>?behav=<behavior>[#label]`
|
||||
**remote:** `http[s]://[auth@]<host><path>?fmt=<format>&behav=<behavior>[&key=value][#label]`\
|
||||
**local:** `file://[host]<path>?fmt=<format>&behav=<behavior>[&fill=<base64edStr>][#label]`\
|
||||
**inline:** `inline://<Base64edStr>?behav=<behavior>[#label]`
|
||||
|
||||
## Components
|
||||
|
||||
|
@ -18,8 +18,8 @@ Add it only if required by the target host.
|
|||
|
||||
### Host
|
||||
|
||||
The format is `hostname[:port]`.
|
||||
`hostname` can be **Domain** or **IP Address**.
|
||||
The format is `hostname[:port]`.\
|
||||
`hostname` can be **Domain** or **IP Address**.\
|
||||
`:port` is optional, add it only if required by the target host.
|
||||
|
||||
### Path
|
||||
|
@ -48,7 +48,7 @@ The update interval for the Rule set, in seconds or /^(\d+)(s|m|h|d)?$/.
|
|||
|
||||
#### rawQuery
|
||||
|
||||
This parameter is required if the original link contains a url query.
|
||||
This parameter is required if the original link contains a url query.\
|
||||
Encrypt the part `key1=value1&key2=value2` after `?` in the original link with `encodeURIComponent` and use it as the payload of this parameter.
|
||||
|
||||
#### filler
|
||||
|
@ -65,5 +65,5 @@ Generation steps:
|
|||
|
||||
### URIFragment
|
||||
|
||||
Ruleset label. Empty strings are not recommended.
|
||||
Ruleset label. Empty strings are not recommended.\
|
||||
Need encoded by `encodeURIComponent`.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
### Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
<details><summary>Real installation</summary>
|
||||
<img src="example/root.png"/>
|
||||
|
@ -26,19 +26,24 @@
|
|||
|
||||
**If you need to change the upload limit for Tiny File Manager**
|
||||
|
||||
Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build
|
||||
Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router
|
||||
Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build\
|
||||
Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router
|
||||
|
||||
```javascript
|
||||
o = s.option(form.Value, 'max_upload_size', _('Max upload size (MBytes)'));
|
||||
o.datatype = "and(uinteger,max(2048))"; //limit to 2048MB
|
||||
```
|
||||
And edit [Makefile](Makefile) before build
|
||||
|
||||
And edit [Makefile](Makefile) before build
|
||||
|
||||
```makefile
|
||||
total_size_limit=?? #Total size of multiple files
|
||||
single_size_limit=?? #Max single file size
|
||||
otime_uploads_limit=?? #Max count of simultaneous uploads
|
||||
```
|
||||
And edit `/etc/php.ini` in router
|
||||
|
||||
And edit `/etc/php.ini` in router
|
||||
|
||||
```ini
|
||||
post_max_size = ?? ;Total size of multiple files
|
||||
upload_max_filesize = ?? ;Max single file size
|
||||
|
|
Loading…
Reference in New Issue