change schedule to settings with new default interval
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user