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'