mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
Typo
This commit is contained in:
parent
354ad7af91
commit
1d6576c220
|
|
@ -96,7 +96,7 @@ func (h *JSServer) ListenAndServe(namespace string) {
|
|||
js.Global().Set(globalName, server)
|
||||
}
|
||||
|
||||
server.Set(namespace, js.FuncOf(h.onRequestFromJS))
|
||||
server.Set(namespace, js.FuncOf(h.OnRequestFromJS))
|
||||
|
||||
fmt.Printf("Listening for requests from JS on function %s.%s\n", globalName, namespace)
|
||||
// Block forever to mimic http.ListenAndServe
|
||||
|
|
|
|||
Loading…
Reference in a new issue