Spaces:
Sleeping
Sleeping
update
Browse files- 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 |
-
|
|
|
|
| 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 |
|