From 9a63bba31d58a95b0212f70dba881cd093335b28 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 22 十月 2024 22:36:58 +0800
Subject: [PATCH] update text
---
src/utils/tool.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/utils/tool.js b/src/utils/tool.js
index 85cda09..5d5e1d1 100644
--- a/src/utils/tool.js
+++ b/src/utils/tool.js
@@ -2,7 +2,7 @@
* @Descripttion: 宸ュ叿闆�
* @version: 1.2
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-06-17 18:21:44
+ * @LastEditTime: 2024-10-22 20:58:47
*/
import CryptoJS from 'crypto-js';
@@ -15,8 +15,11 @@
var hostname = window.location.hostname; // 鑾峰彇涓绘満鍚�
var port = window.location.port; // 鑾峰彇绔彛鍙�
var pathname = window.location.pathname; // 鑾峰彇璺緞鍚�
+
+console.log(hostname,port,pathname)
if (process.env.NODE_ENV=='development') {
- var path = "120.46.212.231:84";
+ //var path = "120.46.212.231:85"; //濡傛灉鏄湰鍦拌仈璋冿紝鍐欐垚120.46.212.231:85锛屽彂鐗堝啓鎴恏ostname+":"+port;
+ var path = hostname+":"+port;
} else {
var path = hostname+":"+port;
}
--
Gitblit v1.9.3