Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/outpost-cors/src/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export type CorsOriginOption = string[] | ((origin: string) => boolean);

let CORS_ALLOW_METHODS = 'GET, POST, PUT, DELETE, OPTIONS, PATCH';
let CORS_ALLOW_HEADERS =
'Content-Type, Authorization, metorial-version, mcp-protocol-version, MCP-Session-ID, Last-Event-ID, baggage, sentry-trace';
'Content-Type, Authorization, metorial-version, mcp-protocol-version, Mcp-Method, Mcp-Name, MCP-Session-ID, Last-Event-ID, baggage, sentry-trace';
let CORS_EXPOSE_HEADERS =
'Metorial-Connection-Id, Metorial-Connection-Token, Metorial-Session-Id, MCP-Session-ID';
'Metorial-Connection-Id, Metorial-Connection-Token, Metorial-Session-Id, MCP-Session-ID, MCP-Protocol-Version';
let CORS_MAX_AGE = '86400';

let CORS_RESPONSE_HEADER_NAMES = [
Expand Down
Loading