上云测试切换地址分支提交
This commit is contained in:
		@@ -3,4 +3,4 @@ ENV = 'development'
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# base api
 | 
					# base api
 | 
				
			||||||
# VUE_APP_BASE_API = '/dev-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
 | 
					# base api
 | 
				
			||||||
#VUE_APP_BASE_API = '/prod-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 () {
 | 
					  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) {
 | 
					    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',
 | 
					    'lcov',
 | 
				
			||||||
    'text-summary'
 | 
					    'text-summary'
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  testURL: 'http://152.136.42.114/'
 | 
					  testURL: 'http://39.105.207.27/'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
server {
 | 
					server {
 | 
				
			||||||
    listen       80;
 | 
					    listen       80;
 | 
				
			||||||
    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;
 | 
					    access_log  /var/log/nginx/host.access.log  main;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -163,7 +163,7 @@ export default {
 | 
				
			|||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      // 接口API地址
 | 
					      // 接口API地址
 | 
				
			||||||
      BASE_API: 'http://152.136.42.114:8200',
 | 
					      BASE_API: 'http://39.105.207.27:8200',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      skuInfo: defaultForm,
 | 
					      skuInfo: defaultForm,
 | 
				
			||||||
      saveBtnDisabled: false,
 | 
					      saveBtnDisabled: false,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user