From 2c4d12f3ce3f165a9d52421c3c9d3244906a958d Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Wed, 18 May 2022 15:38:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cool/config/dev.ts | 2 +- src/cool/config/prod.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cool/config/dev.ts b/src/cool/config/dev.ts index f56f29c..aa098b3 100644 --- a/src/cool/config/dev.ts +++ b/src/cool/config/dev.ts @@ -3,7 +3,7 @@ import { proxy } from "./proxy"; export default { // 根地址 - host: proxy["/dev"], + host: proxy["/dev"].target, // 请求地址 get baseUrl() { diff --git a/src/cool/config/prod.ts b/src/cool/config/prod.ts index ebbd862..70af2d1 100644 --- a/src/cool/config/prod.ts +++ b/src/cool/config/prod.ts @@ -2,7 +2,7 @@ import { proxy } from "./proxy"; export default { // 根地址 - host: proxy["/prod"], + host: proxy["/prod"].target, // 请求地址 baseUrl: "/api"