Spaces:
Paused
Paused
opencode commited on
Commit ·
3ec1f3e
1
Parent(s): 16b68a5
fix: remove SyntaxError in docstring
Browse files
main.py
CHANGED
|
@@ -28,7 +28,7 @@ app.add_middleware(
|
|
| 28 |
|
| 29 |
@app.api_route("/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"])
|
| 30 |
async def proxy(request: Request, path: str):
|
| 31 |
-
|
| 32 |
url = f"{TARGET_URL}/{path}"
|
| 33 |
|
| 34 |
if request.method == "OPTIONS":
|
|
|
|
| 28 |
|
| 29 |
@app.api_route("/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"])
|
| 30 |
async def proxy(request: Request, path: str):
|
| 31 |
+
"""Forwards all requests to the target backend."""
|
| 32 |
url = f"{TARGET_URL}/{path}"
|
| 33 |
|
| 34 |
if request.method == "OPTIONS":
|