mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-29 20:08:53 +08:00
feat: static files for embed viewers (#2739)
This commit is contained in:
@ -105,6 +105,9 @@ func InitialSettings() []model.SettingItem {
|
||||
},
|
||||
"pdf": {
|
||||
"PDF.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$e_url"
|
||||
},
|
||||
"epub": {
|
||||
"EPUB.js":"/static/epub.js/viewer.html?url=$e_url"
|
||||
}
|
||||
}`, Type: conf.TypeText, Group: model.PREVIEW},
|
||||
// {Key: conf.OfficeViewers, Value: `{
|
||||
|
Reference in New Issue
Block a user