This commit is contained in:
Nicolas Lepage 2021-01-21 23:36:22 +01:00
parent 94a0ea61ba
commit b1b706a756
No known key found for this signature in database
GPG Key ID: B0879E35E66D8F6F
3 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,5 @@ func main() {
}
})
fmt.Println("Calling ServeOnce")
wasmhttp.ServeOnce(nil)
}

Binary file not shown.

View File

@ -118,6 +118,8 @@ func ServeOnce(handler http.Handler) {
var res = whutil.NewResponseWriter()
fmt.Printf("serving %s\n", req.RequestURI)
h.ServeHTTP(res, req)
resolve(res)