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")) {