refactor: preview
parent
b3d9c8af63
commit
04e3d307ed
|
@ -0,0 +1 @@
|
||||||
|
VUE_APP_PUBLISH_URL=http://dev-sidecar.docmirror.cn/update/preview/
|
|
@ -0,0 +1 @@
|
||||||
|
VUE_APP_PUBLISH_URL=http://dev-sidecar.docmirror.cn/update/
|
|
@ -1,6 +1,6 @@
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const webpack = require('webpack')
|
const webpack = require('webpack')
|
||||||
|
const publishUrl = process.env.VUE_APP_PUBLISH_URL
|
||||||
module.exports = {
|
module.exports = {
|
||||||
pages: {
|
pages: {
|
||||||
index: {
|
index: {
|
||||||
|
@ -72,7 +72,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
publish: {
|
publish: {
|
||||||
provider: 'generic',
|
provider: 'generic',
|
||||||
url: 'http://dev-sidecar.docmirror.cn/update/'
|
url: publishUrl
|
||||||
// url: 'http://dev-sidecar.docmirror.cn/update/preview/'
|
// url: 'http://dev-sidecar.docmirror.cn/update/preview/'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue