From 518cd9908c859e86a4c986308c73d17aef4aee04 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Fri, 11 Apr 2025 10:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9fetch=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/templates/index/interlocution.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/templates/index/interlocution.html b/view/templates/index/interlocution.html index 9d066bb..27a56f0 100644 --- a/view/templates/index/interlocution.html +++ b/view/templates/index/interlocution.html @@ -579,7 +579,7 @@ // console.log(aiMessageDiv, 'aiMessageDiv---'); document.getElementById("messageInput").value = ""; // 清空输入框 // const response = await fetch('/api/stream', { - const response = await fetch('http://116.63.15.30:27000/search', { + const response = await fetch('//116.63.15.30:27000/search', { method: 'POST', headers: { 'Content-Type': 'application/json'