Skip to content

Commit

Permalink
rename to upprecase
Browse files Browse the repository at this point in the history
  • Loading branch information
NMathar authored Nov 24, 2022
1 parent 70bc5b2 commit 82219d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (s *RestServer) StartHttpServer(container *restful.Container) {

// Add container filter to enable CORS
cors := restful.CrossOriginResourceSharing{
AllowedHeaders: []string{"Content-Type", "Accept", "x-api-key"},
AllowedHeaders: []string{"Content-Type", "Accept", "X-API-Key"},
AllowedDomains: s.Config.Master.HttpCorsDomains,
AllowedMethods: s.Config.Master.HttpCorsMethods,
CookiesAllowed: false,
Expand Down

0 comments on commit 82219d6

Please sign in to comment.