Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -76,9 +76,9 @@ async def proxy_gemini(request: Request, protocol: ProtocolType, host:str, path:
|
|
| 76 |
|
| 77 |
# api_key_id = api_key_info.get('api_key_id')
|
| 78 |
|
| 79 |
-
print('\n\n-----------')
|
| 80 |
-
print(client_headers)
|
| 81 |
-
print('-----------\n\n')
|
| 82 |
|
| 83 |
# 调用 do_proxy 并返回其结果,此处传的 headers 是不带 api_key 的数据
|
| 84 |
return await do_proxy(real_url, request.method, client_headers, client_body)
|
|
|
|
| 76 |
|
| 77 |
# api_key_id = api_key_info.get('api_key_id')
|
| 78 |
|
| 79 |
+
# print('\n\n-----------')
|
| 80 |
+
# print(client_headers)
|
| 81 |
+
# print('-----------\n\n')
|
| 82 |
|
| 83 |
# 调用 do_proxy 并返回其结果,此处传的 headers 是不带 api_key 的数据
|
| 84 |
return await do_proxy(real_url, request.method, client_headers, client_body)
|
说明.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
airsltd-superproxy.hf.space 为生产环境
|
| 2 |
+
airsltd-superproxy-1.hf.space 为测试环境
|