Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -146,8 +146,9 @@ async def proxy_to_node(
|
|
146 |
# }
|
147 |
|
148 |
# new_headers["Transfer-Encoding"] = "chunked"
|
|
|
149 |
|
150 |
-
return Response(
|
151 |
|
152 |
|
153 |
@app.api_route(
|
|
|
146 |
# }
|
147 |
|
148 |
# new_headers["Transfer-Encoding"] = "chunked"
|
149 |
+
body = await r.body()
|
150 |
|
151 |
+
return Response(body, headers=r.headers)
|
152 |
|
153 |
|
154 |
@app.api_route(
|