mirror of https://github.com/Xhofe/alist
feat: add `pdf viewer url` to settings (close #1109)
parent
9207eb69ee
commit
eb549f2631
|
@ -124,6 +124,13 @@ func InitSettings() {
|
||||||
Access: model.PUBLIC,
|
Access: model.PUBLIC,
|
||||||
Group: model.FRONT,
|
Group: model.FRONT,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Key: "pdf viewer url",
|
||||||
|
Type: "string",
|
||||||
|
Value: "https://alist-org.github.io/pdf.js/web/viewer.html?file=$url",
|
||||||
|
Access: model.PUBLIC,
|
||||||
|
Group: model.FRONT,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Key: "autoplay video",
|
Key: "autoplay video",
|
||||||
Value: "false",
|
Value: "false",
|
||||||
|
|
Loading…
Reference in New Issue