Skip to content

Commit

Permalink
tweak wording
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap authored Sep 21, 2023
1 parent c208e3d commit be7537a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paymentproxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func readBodyLength(b io.ReadCloser) (uint64, error) {
return byteCount, nil
}

// enableCors sets the CORS headers on the response if they are not already set
// enableCors sets the CORS headers if they are not already set
func enableCors(header http.Header) {
if header.Get("Access-Control-Allow-Origin") == "" {
header.Set("Access-Control-Allow-Origin", "*")
Expand Down

0 comments on commit be7537a

Please sign in to comment.