fix(hub): use X-MCP-Key header for opax-mcp auth
This commit is contained in:
parent
c3efe69b1b
commit
2b1a25a38e
|
|
@ -88,7 +88,7 @@ def _identity_token() -> str:
|
|||
|
||||
def _mcp_headers() -> dict:
|
||||
return {
|
||||
"X-MCP-Secret": _MCP_SECRET,
|
||||
"X-MCP-Key": _MCP_SECRET,
|
||||
"Content-Type": "application/json",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ def _identity_token() -> str:
|
|||
|
||||
def _mcp_headers() -> dict:
|
||||
return {
|
||||
"X-MCP-Secret": _MCP_SECRET,
|
||||
"X-MCP-Key": _MCP_SECRET,
|
||||
"Content-Type": "application/json",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user