From 8620e43194e94149ceb5550d59e467d7a01242a7 Mon Sep 17 00:00:00 2001 From: yovinchen Date: Thu, 9 May 2024 11:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BA=91=E6=B5=8B=E8=AF=95=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=9C=B0=E5=9D=80=E5=88=86=E6=94=AF=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xlcs-admin/.env.development | 2 +- xlcs-admin/.env.production | 2 +- xlcs-admin/build/index.js | 4 ++-- xlcs-admin/jest.config.js | 2 +- xlcs-admin/nginx.conf | 2 +- xlcs-admin/src/views/product/skuInfo/form.vue | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) 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,