refactor: preview

This commit is contained in:
xiaojunnuo
2021-08-17 22:54:04 +08:00
parent b3d9c8af63
commit 04e3d307ed
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
const path = require('path')
const webpack = require('webpack')
const publishUrl = process.env.VUE_APP_PUBLISH_URL
module.exports = {
pages: {
index: {
@@ -72,7 +72,7 @@ module.exports = {
},
publish: {
provider: 'generic',
url: 'http://dev-sidecar.docmirror.cn/update/'
url: publishUrl
// url: 'http://dev-sidecar.docmirror.cn/update/preview/'
}
},