上云测试切换地址分支提交
This commit is contained in:
parent
1e0827b60a
commit
8620e43194
@ -3,4 +3,4 @@ ENV = 'development'
|
||||
|
||||
# base api
|
||||
# VUE_APP_BASE_API = '/dev-api'
|
||||
VUE_APP_BASE_API = 'http://152.136.42.114:8200'
|
||||
VUE_APP_BASE_API = 'http://39.105.207.27:8200'
|
||||
|
@ -3,5 +3,5 @@ ENV = 'production'
|
||||
|
||||
# base api
|
||||
#VUE_APP_BASE_API = '/prod-api'
|
||||
VUE_APP_BASE_API = 'http://152.136.42.114:8200'
|
||||
VUE_APP_BASE_API = 'http://39.105.207.27:8200'
|
||||
|
||||
|
@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
|
||||
)
|
||||
|
||||
app.listen(port, function () {
|
||||
console.log(chalk.green(`> Preview at http://152.136.42.114:${port}${publicPath}`))
|
||||
console.log(chalk.green(`> Preview at http://39.105.207.27:${port}${publicPath}`))
|
||||
if (report) {
|
||||
console.log(chalk.green(`> Report at http://152.136.42.114:${port}${publicPath}report.html`))
|
||||
console.log(chalk.green(`> Report at http://39.105.207.27:${port}${publicPath}report.html`))
|
||||
}
|
||||
|
||||
})
|
||||
|
@ -20,5 +20,5 @@ module.exports = {
|
||||
'lcov',
|
||||
'text-summary'
|
||||
],
|
||||
testURL: 'http://152.136.42.114/'
|
||||
testURL: 'http://39.105.207.27/'
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name 152.136.42.114;
|
||||
server_name 39.105.207.27;
|
||||
|
||||
access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
|
@ -163,7 +163,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
// 接口API地址
|
||||
BASE_API: 'http://152.136.42.114:8200',
|
||||
BASE_API: 'http://39.105.207.27:8200',
|
||||
|
||||
skuInfo: defaultForm,
|
||||
saveBtnDisabled: false,
|
||||
|
Loading…
Reference in New Issue
Block a user