feat: add pdf viewer url to settings (close #1109)

This commit is contained in:
Noah Hsu 2022-05-19 15:31:47 +08:00
parent 9207eb69ee
commit eb549f2631

View File

@ -124,6 +124,13 @@ func InitSettings() {
Access: model.PUBLIC,
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",
Value: "false",