nicehero
commited on
Commit
·
4d5fb08
1
Parent(s):
970ba77
main.py
Browse files
main.py
CHANGED
|
@@ -3,6 +3,8 @@ from fastapi.staticfiles import StaticFiles
|
|
| 3 |
from fastapi.responses import FileResponse
|
| 4 |
import httpx
|
| 5 |
|
|
|
|
|
|
|
| 6 |
@app.get("/getVPImage/{path:path}")
|
| 7 |
async def get_vp_image(path: str, request: Request):
|
| 8 |
target_url = f"https://u7leyomozktm-5527.shanghai-01.dayunet.com/getVPImage/{path}"
|
|
|
|
| 3 |
from fastapi.responses import FileResponse
|
| 4 |
import httpx
|
| 5 |
|
| 6 |
+
app = FastAPI()
|
| 7 |
+
|
| 8 |
@app.get("/getVPImage/{path:path}")
|
| 9 |
async def get_vp_image(path: str, request: Request):
|
| 10 |
target_url = f"https://u7leyomozktm-5527.shanghai-01.dayunet.com/getVPImage/{path}"
|