feat: add pikpak driver

This commit is contained in:
Noah Hsu
2022-08-31 17:32:57 +08:00
parent 7d407de22e
commit 102384e170
8 changed files with 461 additions and 3 deletions

View File

@ -90,11 +90,11 @@ func InitialSettings() []model.SettingItem {
{Key: "external_previews", Value: `{}`, Type: conf.TypeText, Group: model.PREVIEW},
{Key: "iframe_previews", Value: `{
"doc,docx,xls,xlsx,ppt,pptx": {
"Microsoft":"https://view.officeapps.live.com/op/view.aspx?src=$url",
"Google":"https://docs.google.com/gview?url=$url&embedded=true"
"Microsoft":"https://view.officeapps.live.com/op/view.aspx?src=$e_url",
"Google":"https://docs.google.com/gview?url=$e_url&embedded=true"
},
"pdf": {
"PDF.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$url"
"PDF.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$e_url"
}
}`, Type: conf.TypeText, Group: model.PREVIEW},
// {Key: conf.OfficeViewers, Value: `{