Use go-bindata instead of go-bindata-assetfs

This commit is contained in:
Unrud 2022-02-03 14:45:35 +01:00
parent abc8ef5818
commit b3a4ca7449
3 changed files with 5 additions and 18 deletions

View file

@ -205,7 +205,7 @@ func main() {
}
port := addr.Port
mux := http.NewServeMux()
mux.Handle("/", http.FileServer(fixedAssetFS()))
mux.Handle("/", http.FileServer(assetFS()))
mux.Handle("/ws", websocket.Handler(func(ws *websocket.Conn) {
var message string
challenge := <-authenticationChallenges