上云测试切换地址分支提交

This commit is contained in:
yovinchen 2024-05-09 11:32:08 +08:00
parent 1e0827b60a
commit 8620e43194
6 changed files with 7 additions and 7 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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`))
}
})

View File

@ -20,5 +20,5 @@ module.exports = {
'lcov',
'text-summary'
],
testURL: 'http://152.136.42.114/'
testURL: 'http://39.105.207.27/'
}

View File

@ -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;

View File

@ -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,