From fbc55737036ae6a801905e1fd5cf6301674089ea Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 17 Jun 2024 14:35:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9get=5Fhost=5Furl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/index.js b/src/config/index.js index 3606d45d..a059adba 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -83,7 +83,7 @@ function get_api_url(){ function get_host_url(){ if(process.env.NODE_ENV === 'development'){ - return process.env.VUE_APP_API_BASEURL + return process.env.VUE_APP_BASEURL } return 'http://' + window.location.host }