mirror of https://github.com/Xhofe/alist
ci: fix web release url
parent
362d48aa98
commit
7d3c3df207
2
build.sh
2
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
|
||||
|
|
|
@ -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: `{
|
||||
|
|
Loading…
Reference in New Issue