Skip to content

Commit

Permalink
Merge pull request #323 from skip-mev/add-solana-client-headers
Browse files Browse the repository at this point in the history
feat: add solana-client headers
  • Loading branch information
codingki authored Jul 8, 2024
2 parents 3eeea48 + 4d5f9e6 commit aa35bf3
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",
"Access-Control-Allow-Headers": "Content-Type, Authorization, solana-client",
};

export async function middleware(request: NextRequest) {
Expand Down

0 comments on commit aa35bf3

Please sign in to comment.