From 7d3c3df2079131de3c692796d2c33b8306196b51 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Fri, 9 Sep 2022 13:34:22 +0800 Subject: [PATCH] ci: fix web release url --- build.sh | 2 +- internal/bootstrap/data/setting.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index cb2c01f5..fda5ccc3 100644 --- a/build.sh +++ b/build.sh @@ -33,7 +33,7 @@ FetchWebDev() { } FetchWebRelease() { - curl -L https://github.com/alist-org/web-v2/releases/latest/download/dist.tar.gz -o dist.tar.gz + curl -L https://github.com/alist-org/alist-web/releases/latest/download/dist.tar.gz -o dist.tar.gz tar -zxvf dist.tar.gz mv -f dist public rm -rf dist.tar.gz diff --git a/internal/bootstrap/data/setting.go b/internal/bootstrap/data/setting.go index 98e1da2d..b30649a5 100644 --- a/internal/bootstrap/data/setting.go +++ b/internal/bootstrap/data/setting.go @@ -94,7 +94,7 @@ func InitialSettings() []model.SettingItem { "Google":"https://docs.google.com/gview?url=$e_url&embedded=true" }, "pdf": { - "PDF.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$e_url" + "PDF.js":"https://alist.nn.ci/pdf.js/web/viewer.html?file=$e_url" } }`, Type: conf.TypeText, Group: model.PREVIEW}, // {Key: conf.OfficeViewers, Value: `{