Browse Source

Update 3 files

- /Live2dHistoire/live2d/js/message.js
- /proxylist.md
- /README.md
mayx 1 year ago
parent
commit
2952d9f63e
3 changed files with 8 additions and 28 deletions
  1. 1 24
      Live2dHistoire/live2d/js/message.js
  2. 6 3
      README.md
  3. 1 1
      proxylist.md

+ 1 - 24
Live2dHistoire/live2d/js/message.js

@@ -197,6 +197,7 @@ if(!norunFlag){
 				  return;
 				} else {
 				  if(!eventFlag){
+					talkValTimer();
 					outputContainer.textContent = "";
 					eventFlag = true;
 				  }
@@ -302,33 +303,9 @@ if(!norunFlag){
 					showMessage('写点什么吧!',0);
 					return;
 				}
-				// if(userid_ == ""){
-				// 	showMessage('聊之前请告诉我你的名字吧!',0);
-				// 	return;
-				// }
 				showMessage('思考中~', 0);
 				const evSource = new EventSource(talkAPI + "?info=" + encodeURIComponent(info_) + add_id);
 				showMessage(evSource);
-				// $.ajax({
-				// 	type: 'POST',
-				// 	url: talkAPI,
-				// 	data: {
-				// 			"info": info_,
-				// 			"userId": userid_
-				// 	},
-				// 	success: function(res) {
-				// 		if(res.intent.code !== 0){
-				// 			talkValTimer();
-				// 			showMessage('似乎有什么错误,请和站长联系!',0);
-				// 		}else{
-				// 			talkValTimer();
-				// 			showMessage(res.results[0].values.text,0);
-				// 		}
-				// 		console.log(res);
-				// 		$('#AIuserText').val("");
-				// 		sessionStorage.setItem("live2duser", userid_);
-				// 	}
-				// });
 			});
 		}else{
 			$('#showInfoBtn').hide();

+ 6 - 3
README.md

@@ -16,13 +16,16 @@ Powered by [Jekyll](https://github.com/jekyll/jekyll)
 [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)   
 
 ## 使用的网络资源
-[Github](https://github.com/) | 包含:
+[Github](https://github.com/) | 包含
 - Issue
 - Pages
 - Git
- 
+
+[Cloudflare](https://www.cloudflare.com/) | 包含:
+- CDN、规则以及缓存
+- Workers、D1 SQL 数据库、Vectorize 数据库、AI
+
 [网易云音乐](https://music.163.com/)   
-[一言](https://hitokoto.cn/)   
 [CDNJS](https://cdnjs.com/)   
 [unpkg](https://unpkg.com/)   
 

+ 1 - 1
proxylist.md

@@ -12,9 +12,9 @@ title: 代理列表
 (根据可能的可用性排序)   
 - <https://blog.mayx.workers.dev/> <img src="https://blog.mayx.workers.dev/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
 - <https://mayx.deno.dev/> <img src="https://mayx.deno.dev/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
-- <https://mayx.serv00.net/> <img src="https://mayx.serv00.net/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
 - <https://mayx.glitch.me/> <img src="https://mayx.glitch.me/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
 - <https://yuki.gear.host/> <img src="https://yuki.gear.host/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
+- <https://mayx.serv00.net/> <img src="https://mayx.serv00.net/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>   
 
 # 镜像列表
 由于[Github已经不再可信](/2022/01/04/banned.html),所以现在提供以下镜像站: