diff options
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Live2dHistoire/live2d/js/message.js | 12 |
3 files changed, 4 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8018bfb..abadf5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ # Template project: https://gitlab.com/pages/jekyll # Docs: https://docs.gitlab.com/ee/pages/ -image: ruby +image: ruby:2.7 variables: JEKYLL_ENV: production diff --git a/Gemfile b/Gemfile index 44e0d9c..23c77d7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source "https://rubygems.org" -gem "jekyll" +gem "jekyll" == 3.9.3 group :jekyll_plugins do gem "jekyll-gist" gem "jekyll-coffeescript" diff --git a/Live2dHistoire/live2d/js/message.js b/Live2dHistoire/live2d/js/message.js index d79a293..5a1ae5a 100644 --- a/Live2dHistoire/live2d/js/message.js +++ b/Live2dHistoire/live2d/js/message.js @@ -287,18 +287,10 @@ if(!norunFlag){ showMessage('思考中~', 0); $.ajax({ type: 'POST', - url: "https://www.tuling123.com/openapi/api", + url: "https://turing-api.mayx.eu.org/", data: { - "reqType":0, - "perception": { - "inputText": { - "text": info_ - } - }, - "userInfo": { - "apiKey": "ae8933884bcc4bac96289a43d8a864db", + "info": info_, "userId": userid_ - } }, success: function(res) { if(res.intent.code !== 0){ |