Update main.py
Browse files
main.py
CHANGED
@@ -106,7 +106,7 @@ async def upload_to_catbox(dl_path: str) -> str:
|
|
106 |
response.raise_for_status()
|
107 |
return (await response.text()).strip()
|
108 |
|
109 |
-
@
|
110 |
async def get_image():
|
111 |
return FileResponse("image/image.jpg", media_type="image/jpeg")
|
112 |
|
|
|
106 |
response.raise_for_status()
|
107 |
return (await response.text()).strip()
|
108 |
|
109 |
+
@fast_app.get("/image")
|
110 |
async def get_image():
|
111 |
return FileResponse("image/image.jpg", media_type="image/jpeg")
|
112 |
|