diff --git a/bootstrap/setting.go b/bootstrap/setting.go index 1843325f..0927682f 100644 --- a/bootstrap/setting.go +++ b/bootstrap/setting.go @@ -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",