From 2ed1aecf3d186ca4a84d68373d3eb3b6f192e377 Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 13 Mar 2023 11:01:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95api?= =?UTF-8?q?=20js=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_test.js b/api_test.js index b524ad7..b3c3dfb 100644 --- a/api_test.js +++ b/api_test.js @@ -1,5 +1,5 @@ let baseurl = "http://192.168.6.75"; -let pathname = document.location.href; +let pathname = window.location.host; function global_dev_fun(hots) { if (hots.includes("test")) {