Skip to content

Commit

Permalink
feat: add solana-client headers
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Jul 8, 2024
1 parent 3eeea48 commit 4d5f9e6
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 4d5f9e6

Please sign in to comment.