Skip to content

Commit

Permalink
Merge pull request #450 from skip-mev/add-sentry-trace-to-cors
Browse files Browse the repository at this point in the history
add sentry-trace to cors
  • Loading branch information
toddkao authored Dec 23, 2024
2 parents c27e0ac + 2279f84 commit b8e29a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { z } from "zod";

const corsOptions = {
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Headers": "Content-Type, Authorization, solana-client",
"Access-Control-Allow-Headers": "Content-Type, Authorization, solana-client, sentry-trace",
};

const cleanOrigin = (str: string) => {
Expand Down

0 comments on commit b8e29a8

Please sign in to comment.