diff --git a/docs/api.go b/docs/api.go index dc4a748..70386f1 100644 --- a/docs/api.go +++ b/docs/api.go @@ -11,6 +11,8 @@ import ( var no = 1 func main() { + fmt.Println("Starting...") + http.HandleFunc("/hello", func(res http.ResponseWriter, req *http.Request) { params := make(map[string]string) if err := json.NewDecoder(req.Body).Decode(¶ms); err != nil { @@ -27,5 +29,7 @@ func main() { wasmhttp.Serve(nil) + fmt.Println("Started") + select {} } diff --git a/docs/api.wasm b/docs/api.wasm index 93decd0..08a0014 100755 Binary files a/docs/api.wasm and b/docs/api.wasm differ