diff --git a/themes/yilia/source-src/js/slider.js b/themes/yilia/source-src/js/slider.js index 8db28ad..227fed6 100644 --- a/themes/yilia/source-src/js/slider.js +++ b/themes/yilia/source-src/js/slider.js @@ -201,8 +201,8 @@ const waifuTools = { }, "tools.chart"() { // 一言 - axios.get('https://api.imjad.cn/hitokoto/?cat=&charset=utf-8&length=55&encode=json').then(res => { - this.showMessage(res.data.hitokoto + (res.data.source?`  ——${res.data.source}`:'')) + axios.get('https://www.colorfulsweet.site/hitokoto?length=40&format=json').then(res => { + this.showMessage(res.data.hitokoto + (res.data.from?`  ——${res.data.from}`:'')) }) } }