Skip to content

Commit

Permalink
Allow x-faro-session-id header for faro receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel authored Nov 22, 2023
1 parent f1871df commit 32871ff
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 32871ff

Please sign in to comment.