From bfa92c800abfd26099435d1a163d8d4dd1655899 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期五, 08 十二月 2023 19:40:42 +0800
Subject: [PATCH] feat: 正式环境打包配置

---
 admin-web/public/static/config.js |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/admin-web/public/static/config.js b/admin-web/public/static/config.js
index fbba299..0def024 100644
--- a/admin-web/public/static/config.js
+++ b/admin-web/public/static/config.js
@@ -1,12 +1,16 @@
-
+// 鍔ㄦ�佽幏鍙栬闂甶p
+const protocol = window.location.protocol
+const host = window.location.host
 const SettingIplatform = {
   // 鏈嶅姟鍣ㄥ湴鍧�
   // 涓婁紶璺緞
-  ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//寮�鍙�
+  ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//娴嬭瘯
+  // ftpUrl: protocol + '//'+ host + '/file',// 姝e紡,
   // 鎺ュ彛璇锋眰鍦板潃
-  apiBaseURL: 'http://127.0.0.1:8083/lowConsum',//寮�鍙�
+  apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//娴嬭瘯
+  // apiBaseURL: 'http://172.16.20.2:8083/lowConsum',//寮�鍙�
   // apiBaseURL: 'http://172.16.60.155:8083/lowConsum',//寮�鍙�
-  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//寮�鍙�
+  // apiBaseURL: protocol + '//'+ host + '/lowConsum',// 姝e紡,
   debug: false //璋冭瘯寮�鍏�  true鏃朵細杈撳嚭璇锋眰鏃ュ織
 };
 

--
Gitblit v1.9.1