From 2d41b6c0fd70da17647f8331a4c09d24d216a773 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Wed, 22 May 2024 09:09:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/api/server/index.js | 2 +- src/index.html | 6 +++--- src/utils/consts.js | 8 ++++---- src/views/contract/hold-position.vue | 2 +- src/views/exchange/symbols.vue | 12 ++++++++++-- src/views/home/index.vue | 2 +- 7 files changed, 21 insertions(+), 13 deletions(-) diff --git a/config/index.js b/config/index.js index 2af8e06..665745d 100644 --- a/config/index.js +++ b/config/index.js @@ -24,7 +24,7 @@ module.exports = { '/api': { // target: 'http://qkladmin2.ruanmeng.top/', // target: 'https://guanli.coin.amatak.net/', - target: 'https://ssers.clscoin.com/', + target: 'https://ssers.kooscoin.com/', changeOrigin: true, // pathRewrite: { // // 请求时 将api替换成实际的apis等 diff --git a/src/api/server/index.js b/src/api/server/index.js index f99da38..aa936fe 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -57,7 +57,7 @@ console.log(process.env.NODE_ENV) Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 - baseURL: process.env.NODE_ENV == 'production' ? 'https://ssers.clscoin.com/api/' : '/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'https://ssers.kooscoin.com/api/' : '/api/', // baseURL: 'https://aaccdd.kixcoin.org/api/' , // 加载超时限定5s diff --git a/src/index.html b/src/index.html index d6ce4ed..4d7d54e 100644 --- a/src/index.html +++ b/src/index.html @@ -68,13 +68,13 @@ - +