Skip to content

Commit

Permalink
Fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
moondrek committed Dec 3, 2021
1 parent 4fc1921 commit c90a8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mock_api/mock_server/server.go
Expand Up @@ -101,7 +101,7 @@ func loggerMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
log.Printf("%v %v", r.Method, r.URL.Path)
w.Header().Set("Content-Type", "application/json")
w.Header().Set("access-control-allow-origin", "*")
w.Header().Set("Access-Control-Allow-Origin", "*")

next.ServeHTTP(w, r)
})
Expand Down

0 comments on commit c90a8f9

Please sign in to comment.