Добавил коментарии. Удрал зависимость от домена в JS
This commit is contained in:
+1
-1
@@ -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"
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user