Browse Source

Update 3 files

- /Gemfile
- /.gitlab-ci.yml
- /Live2dHistoire/live2d/js/message.js
mayx 1 year ago
parent
commit
eefdb73475
3 changed files with 4 additions and 12 deletions
  1. 1 1
      .gitlab-ci.yml
  2. 1 1
      Gemfile
  3. 2 10
      Live2dHistoire/live2d/js/message.js

+ 1 - 1
.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

+ 1 - 1
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"

+ 2 - 10
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){