Spaces:
Sleeping
Sleeping
More debug
Browse files
app.py
CHANGED
|
@@ -49,6 +49,7 @@ def mark_ok(k):
|
|
| 49 |
|
| 50 |
@app.api_route("/v1/{path:path}", methods=["GET", "POST", "PUT", "DELETE"])
|
| 51 |
async def proxy(req: Request, path: str):
|
|
|
|
| 52 |
auth(req)
|
| 53 |
|
| 54 |
target_url = f"{BASE_URL}/v1/{path}"
|
|
|
|
| 49 |
|
| 50 |
@app.api_route("/v1/{path:path}", methods=["GET", "POST", "PUT", "DELETE"])
|
| 51 |
async def proxy(req: Request, path: str):
|
| 52 |
+
print(f"[PROXY] path={path}, auth done")
|
| 53 |
auth(req)
|
| 54 |
|
| 55 |
target_url = f"{BASE_URL}/v1/{path}"
|