Skip to content

Commit

Permalink
Merge branch 'main' into update_defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham authored Nov 22, 2023
2 parents 990f264 + cc7cb37 commit ba0379b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/faro/receiver/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (h *handler) Update(args ServerArguments) {
if len(args.CORSAllowedOrigins) > 0 {
h.cors = cors.New(cors.Options{
AllowedOrigins: args.CORSAllowedOrigins,
AllowedHeaders: []string{apiKeyHeader, "content-type"},
AllowedHeaders: []string{apiKeyHeader, "content-type", "x-faro-session-id"},
})
} else {
h.cors = nil // Disable cors.
Expand Down

0 comments on commit ba0379b

Please sign in to comment.