ci: fix web release url

pull/1628/head
Noah Hsu 2022-09-09 13:34:22 +08:00
parent 362d48aa98
commit 7d3c3df207
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: `{