From 40b26a81a0618218ea9c120cf2f78a6468f9c6a4 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Mon, 20 Feb 2023 16:08:10 +0800 Subject: [PATCH] fix!: change default epub viewer (close #3519) --- internal/bootstrap/data/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bootstrap/data/setting.go b/internal/bootstrap/data/setting.go index 8ac279ac..1d0bf8b4 100644 --- a/internal/bootstrap/data/setting.go +++ b/internal/bootstrap/data/setting.go @@ -110,7 +110,7 @@ func InitialSettings() []model.SettingItem { "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" + "EPUB.js":"https://alist-org.github.io/static/epub.js/viewer.html?url=$e_url" } }`, Type: conf.TypeText, Group: model.PREVIEW}, // {Key: conf.OfficeViewers, Value: `{