浏览代码

20210820 18-20

邪性 3 年之前
父节点
当前提交
a4cae43ee2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/new_detail.js

+ 1 - 1
js/new_detail.js

@@ -2,7 +2,7 @@ $(function () {
   let path = lxd.parseUrl(window.location.href).pathname;
   let path = lxd.parseUrl(window.location.href).pathname;
   let reg = /(?<=\/h_news\/).*?(?=.html)/;
   let reg = /(?<=\/h_news\/).*?(?=.html)/;
   $.ajax({
   $.ajax({
-    url: `http://192.168.2.45:8033/news/h/${path.match(reg)}/`,
+    url: `http://api.gaokaoapp.net/news/h/${path.match(reg)}/`,
     data: {
     data: {
     },
     },
     type: "get",
     type: "get",