Fix Authorization header passthrough
Node.js headers are lowercase
This commit is contained in:
@@ -14,7 +14,7 @@ import express from "express";
|
|||||||
import { findActualExecutable } from "spawn-rx";
|
import { findActualExecutable } from "spawn-rx";
|
||||||
import mcpProxy from "./mcpProxy.js";
|
import mcpProxy from "./mcpProxy.js";
|
||||||
|
|
||||||
const SSE_HEADERS_PASSTHROUGH = ['Authorization'];
|
const SSE_HEADERS_PASSTHROUGH = ['authorization'];
|
||||||
|
|
||||||
const defaultEnvironment = {
|
const defaultEnvironment = {
|
||||||
...getDefaultEnvironment(),
|
...getDefaultEnvironment(),
|
||||||
|
|||||||
Reference in New Issue
Block a user