chore: change default pdf viewer address

pull/1831/head
Noah Hsu 2022-09-11 18:27:28 +08:00
parent e6c2d22700
commit 107462e42e
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func InitialSettings() []model.SettingItem {
"Google":"https://docs.google.com/gview?url=$e_url&embedded=true" "Google":"https://docs.google.com/gview?url=$e_url&embedded=true"
}, },
"pdf": { "pdf": {
"PDF.js":"https://alist.nn.ci/pdf.js/web/viewer.html?file=$e_url" "PDF.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$e_url"
} }
}`, Type: conf.TypeText, Group: model.PREVIEW}, }`, Type: conf.TypeText, Group: model.PREVIEW},
// {Key: conf.OfficeViewers, Value: `{ // {Key: conf.OfficeViewers, Value: `{