nicehero
commited on
Commit
·
2526e18
1
Parent(s):
8b465ed
main.py
Browse files
main.py
CHANGED
|
@@ -6,7 +6,7 @@ import httpx
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
@app.get("/getVPImage/{path:path}")
|
| 9 |
-
async def get_vp_image(path: str
|
| 10 |
target_url = f"https://u7leyomozktm-5527.shanghai-01.dayunet.com/getVPImage/{path}"
|
| 11 |
async with httpx.AsyncClient() as client:
|
| 12 |
response = await client.get(target_url)
|
|
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
@app.get("/getVPImage/{path:path}")
|
| 9 |
+
async def get_vp_image(path: str):
|
| 10 |
target_url = f"https://u7leyomozktm-5527.shanghai-01.dayunet.com/getVPImage/{path}"
|
| 11 |
async with httpx.AsyncClient() as client:
|
| 12 |
response = await client.get(target_url)
|