Fix Authorization header passthrough

Node.js headers are lowercase
This commit is contained in:
Justin Spahr-Summers 2025-01-24 13:55:43 +00:00
commit 731ee588c2
No known key found for this signature in database

View file

@ -14,7 +14,7 @@ import express from "express";
import { findActualExecutable } from "spawn-rx";
import mcpProxy from "./mcpProxy.js";
const SSE_HEADERS_PASSTHROUGH = ['Authorization'];
const SSE_HEADERS_PASSTHROUGH = ['authorization'];
const defaultEnvironment = {
...getDefaultEnvironment(),