I am trying to replace default /ws handler with / or with the empty value. But it doesn't work.
With the code below the server is still available at /ws.
server_config := &mcwss.Config {
HandlerPattern: "/",
Address: ":8000",
}
server := mcwss.NewServer(server_config)
But if I replace / with /w, then it works as expected.
I am trying to replace default
/wshandler with/or with the empty value. But it doesn't work.With the code below the server is still available at
/ws.But if I replace
/with/w, then it works as expected.