Skip to content

Commit 2605d83

Browse files
Fixed generated docs (#946)
1 parent 43b3edb commit 2605d83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/grpcweb/DOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ separate http.Server that serves over TLS:
2020
tlsHttpServer.Handler = http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
2121
if wrappedGrpc.IsGrpcWebRequest(req) {
2222
wrappedGrpc.ServeHTTP(resp, req)
23+
return
2324
}
2425
// Fall back to other servers.
2526
http.DefaultServeMux.ServeHTTP(resp, req)

0 commit comments

Comments
 (0)