more fixes
This commit is contained in:
parent
2028ed2001
commit
bb0ec02a53
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue