devel web interface to 8000, so 8080 is free for dump1090

pull/827/merge^2
Adrian Batzill 2019-07-18 11:36:58 +02:00
rodzic 578b71a65e
commit 34ba8ca5be
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -893,7 +893,7 @@ func managementInterface() {
usr, _ := user.Current()
addr := managementAddr
if usr.Username != "root" {
addr = ":8080" // Make sure we can run without root priviledges on different port
addr = ":8000" // Make sure we can run without root priviledges on different port
}
err := http.ListenAndServe(addr, nil)