去掉cdn

This commit is contained in:
liaoxuezhi 2020-08-27 11:11:50 +08:00
parent bf6db5feab
commit 0fb43bba2d
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,8 @@ node ./build/generate-search-data.js
fis3 release gh-pages -c
node ./build/upload2cdn.js $1 $2
# 不走 cdn 了
# node ./build/upload2cdn.js $1 $2
echo "pushing"

View File

@ -683,7 +683,7 @@ if (fis.project.currentMedia() === 'publish') {
]
});
ghPages.match('*', {
domain: 'https://bce.bdstatic.com/fex/amis-gh-pages',
domain: '/amis',
deploy: [
fis.plugin('skip-packed'),
fis.plugin('local-deliver', {