Workaround for assetFS FileInfo
See https://github.com/elazarl/go-bindata-assetfs/pull/55
This commit is contained in:
parent
c0e6ef52ec
commit
abc8ef5818
3 changed files with 17 additions and 9 deletions
2
main.go
2
main.go
|
|
@ -205,7 +205,7 @@ func main() {
|
|||
}
|
||||
port := addr.Port
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle("/", http.FileServer(assetFS()))
|
||||
mux.Handle("/", http.FileServer(fixedAssetFS()))
|
||||
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