Добавил коментарии. Удрал зависимость от домена в JS

This commit is contained in:
2026-09-28 19:59:26 +07:00
parent 344391a5b2
commit a034489e99
5 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ function add_user(ip, mac)
async function update_user_list()
{
const res = await fetch("http://192.168.4.1/user_list", {
const res = await fetch("/user_list", {
method: "GET"
});