Fix Authorization header passthrough
Node.js headers are lowercase
This commit is contained in:
parent
af8877064e
commit
731ee588c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue