more fixes

This commit is contained in:
magmaus3 2023-06-30 14:45:32 +02:00
parent 2028ed2001
commit bb0ec02a53
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ class JPEGResponse(fastapi.Response):
@app.get("/", response_class=PlainTextResponse)
async def root():
return "go to /image for the funny thingy"
return "go to /img for the funny thingy"
@app.get("/img", response_class=JPEGResponse)
async def getImage(request: fastapi.Request):