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
parent af8877064e
commit 731ee588c2

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(),