change schedule to settings with new default interval

This commit is contained in:
Adrian Zürcher
2026-01-21 09:03:53 +01:00
parent 66c6d9a3fb
commit d1f1ad563b
6 changed files with 191 additions and 86 deletions

View File

@@ -47,7 +47,7 @@ func InfoHandler(w http.ResponseWriter, r *http.Request) {
data := map[string]string{
"ip": GetLocalIP(),
"port": port,
"speed": speed,
"speed": GetInterval(),
}
json.NewEncoder(w).Encode(data)
}