diff --git a/xlcs-admin/.env.development b/xlcs-admin/.env.development index 726757b..78cdf79 100644 --- a/xlcs-admin/.env.development +++ b/xlcs-admin/.env.development @@ -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' diff --git a/xlcs-admin/.env.production b/xlcs-admin/.env.production index 1090571..5e9c1fe 100644 --- a/xlcs-admin/.env.production +++ b/xlcs-admin/.env.production @@ -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' diff --git a/xlcs-admin/build/index.js b/xlcs-admin/build/index.js index 5156321..9ef835c 100644 --- a/xlcs-admin/build/index.js +++ b/xlcs-admin/build/index.js @@ -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`)) } }) diff --git a/xlcs-admin/jest.config.js b/xlcs-admin/jest.config.js index 24a4a4d..0acdd44 100644 --- a/xlcs-admin/jest.config.js +++ b/xlcs-admin/jest.config.js @@ -20,5 +20,5 @@ module.exports = { 'lcov', 'text-summary' ], - testURL: 'http://152.136.42.114/' + testURL: 'http://39.105.207.27/' } diff --git a/xlcs-admin/nginx.conf b/xlcs-admin/nginx.conf index 8b5ae34..9725a7a 100644 --- a/xlcs-admin/nginx.conf +++ b/xlcs-admin/nginx.conf @@ -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; diff --git a/xlcs-admin/src/views/product/skuInfo/form.vue b/xlcs-admin/src/views/product/skuInfo/form.vue index 39a14fc..9f920bc 100644 --- a/xlcs-admin/src/views/product/skuInfo/form.vue +++ b/xlcs-admin/src/views/product/skuInfo/form.vue @@ -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,