From 107462e42ef7039ded14eab1a1853f80f60266d8 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Sun, 11 Sep 2022 18:27:28 +0800 Subject: [PATCH] chore: change default pdf viewer address --- 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 564a0cf0..b2241cfb 100644 --- a/internal/bootstrap/data/setting.go +++ b/internal/bootstrap/data/setting.go @@ -91,7 +91,7 @@ func InitialSettings() []model.SettingItem { "Google":"https://docs.google.com/gview?url=$e_url&embedded=true" }, "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}, // {Key: conf.OfficeViewers, Value: `{