From ef807dad3b10a09cfcbd881410e613e5eb69ac3a Mon Sep 17 00:00:00 2001 From: hehh Date: Tue, 20 Aug 2024 10:05:04 +0800 Subject: [PATCH] update hitokoto param --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 283ea5c..5f6a536 100644 --- a/js/main.js +++ b/js/main.js @@ -30,7 +30,7 @@ var iUp = (function () { $(document).ready(function () { // 获取一言数据 - fetch('https://v1.hitokoto.cn?c=c&c=d&c=h&c=i&c=k&c=h').then(function (res) { + fetch('https://v1.hitokoto.cn?c=a%c=b&c=c&c=d&c=h&c=i&c=k').then(function (res) { return res.json(); }).then(function (e) { $('#description').html(e.hitokoto + "
-「" + e.from + "」")