From f85cf254cac357cf1f28311458362372055dde0f Mon Sep 17 00:00:00 2001 From: Kakune55 Date: Sun, 10 Dec 2023 16:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {static => templates}/favicon.ico | Bin templates/index.html | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {static => templates}/favicon.ico (100%) diff --git a/static/favicon.ico b/templates/favicon.ico similarity index 100% rename from static/favicon.ico rename to templates/favicon.ico diff --git a/templates/index.html b/templates/index.html index 841ae68..28db85c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -257,7 +257,7 @@ }; - fetch("http://chat.kakuweb.top:5000/api/user", { + fetch("api/user", { method: 'POST', headers: { 'Content-Type': 'application/json'