Rename variable
This commit is contained in:
parent
190b2763bd
commit
238ef14843
2 changed files with 4 additions and 4 deletions
2
main.go
2
main.go
|
|
@ -219,7 +219,7 @@ func main() {
|
|||
}
|
||||
port := addr.Port
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle("/", http.FileServer(http.FS(webdata)))
|
||||
mux.Handle("/", http.FileServer(http.FS(WebdataFS)))
|
||||
mux.Handle("/ws", websocket.Handler(func(ws *websocket.Conn) {
|
||||
var message string
|
||||
challenge := <-authenticationChallenges
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue