Skip to content

Commit

Permalink
not much we can do
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Nov 16, 2022
1 parent 8a9c2b3 commit aa71f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/corehttp/gateway_handler_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (i *gatewayHandler) serverCodecHTML(ctx context.Context, w http.ResponseWri
</html>
`, contentPath.String())

w.Write([]byte(body))
_, _ = w.Write([]byte(body))
}

func (i *gatewayHandler) serveCodecRaw(ctx context.Context, w http.ResponseWriter, r *http.Request, resolvedPath ipath.Resolved, contentPath ipath.Path, contentType string) {
Expand Down

0 comments on commit aa71f2a

Please sign in to comment.