feat: add pdf viewer url
to settings (close #1109)
This commit is contained in:
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…
x
Reference in New Issue
Block a user