mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
fix(setting): update preview url (#198)
This commit is contained in:
@ -125,12 +125,12 @@ func InitialSettings() []model.SettingItem {
|
||||
"Google":"https://docs.google.com/gview?url=$e_url&embedded=true"
|
||||
},
|
||||
"pdf": {
|
||||
"PDF.js":https://mozilla.github.io/pdf.js/web/viewer.html?url=$e_url"
|
||||
"PDF.js":"//res.oplist.org/pdf.js/web/viewer.html?url=$e_url"
|
||||
},
|
||||
// "epub": {
|
||||
// "EPUB.js":"https://alist-org.github.io/static/epub.js/viewer.html?url=$e_url"
|
||||
// }
|
||||
}`, Type: conf.TypeText, Group: model.PREVIEW},
|
||||
"epub": {
|
||||
"EPUB.js":"//res.oplist.org/epub.js/viewer.html?url=$e_url"
|
||||
}
|
||||
}`, Type: conf.TypeText, Group: model.PREVIEW},
|
||||
// {Key: conf.OfficeViewers, Value: `{
|
||||
// "Microsoft":"https://view.officeapps.live.com/op/view.aspx?src=$url",
|
||||
// "Google":"https://docs.google.com/gview?url=$url&embedded=true",
|
||||
|
Reference in New Issue
Block a user