airsltd commited on
Commit
b78f639
·
1 Parent(s): c7aeecd
Files changed (1) hide show
  1. proxyserver-fastapi.py +2 -1
proxyserver-fastapi.py CHANGED
@@ -88,7 +88,8 @@ async def proxy_request(url_path: str, request: Request):
88
  headers["authorization"] = f"Bearer {third_party_api_key}"
89
  print(f"添加第三方API Key到请求头: Authorization: Bearer {third_party_api_key[:5]}...")
90
  print(f"请求头部-1: {headers}")
91
- headers=[]
 
92
  print(f"请求头部-2: {headers}")
93
 
94
 
 
88
  headers["authorization"] = f"Bearer {third_party_api_key}"
89
  print(f"添加第三方API Key到请求头: Authorization: Bearer {third_party_api_key[:5]}...")
90
  print(f"请求头部-1: {headers}")
91
+
92
+ headers=["authorization"]=f"Bearer {third_party_api_key}"
93
  print(f"请求头部-2: {headers}")
94
 
95