fix: data race hotfix
This commit is contained in:
@@ -64,7 +64,6 @@ func (b *SafeWebsocketServerBuilder) HandleFuncWebsocket(
|
||||
}
|
||||
|
||||
subscribedPath := strings.TrimPrefix(r.URL.Path, pattern)
|
||||
fmt.Println(subscribedPath)
|
||||
if subscribedPath == "" {
|
||||
http.Error(w, "invalid path", http.StatusBadRequest)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user