summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2023-12-30 15:59:15 +0100
committermayx <mayx@outlook.com>2023-12-30 15:59:15 +0100
commiteefdb73475f9733b110df3d654539e269915e2aa (patch)
treeb428515f7173305ede93150ae184784560832349
parentc622346eaa8b6891571ae60f91965b722cf14df3 (diff)
Update 3 files
- /Gemfile - /.gitlab-ci.yml - /Live2dHistoire/live2d/js/message.js
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--Gemfile2
-rw-r--r--Live2dHistoire/live2d/js/message.js12
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){