Fixing build issues
This commit is contained in:
parent
f26f8e9ec5
commit
2e09ec1b91
6
web.go
6
web.go
|
@ -28,11 +28,7 @@ type Page struct {
|
||||||
var external_ip = ""
|
var external_ip = ""
|
||||||
|
|
||||||
func makeWebserver(port int) WebServer {
|
func makeWebserver(port int) WebServer {
|
||||||
webserver := WebServer{}
|
webserver := WebServer{port, make(map[*gumble.User]string), make(map[string]*gumble.User)}
|
||||||
|
|
||||||
webserver.port = port
|
|
||||||
webserver.client_token = make(map[*gumble.User]string)
|
|
||||||
webserver.token_client = make(map[string]*gumble.User)
|
|
||||||
|
|
||||||
http.HandleFunc("/", webserver.homepage)
|
http.HandleFunc("/", webserver.homepage)
|
||||||
http.HandleFunc("/add", webserver.add)
|
http.HandleFunc("/add", webserver.add)
|
||||||
|
|
Reference in a new issue