From fac3078d8deee4e8f8c46d47ca1f8ae2dd88db3d Mon Sep 17 00:00:00 2001 From: ZhengJie <201507802@qq.com> Date: Sun, 11 Oct 2020 23:29:13 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96](v2.6)?= =?UTF-8?q?=EF=BC=9Aupdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 9d1377c..7541e1b 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http -VUE_APP_BASE_API = 'https://el-admin.xin' +VUE_APP_BASE_API = '/' # 如果接口是 http 形式, wss 需要改为 ws -VUE_APP_WS_API = 'wss://el-admin.xin' +VUE_APP_WS_API = '/'