Fixed card back
This commit is contained in:
@@ -86,7 +86,10 @@ app.include_router(public_router) # no auth — TTS app fetches card images dir
|
||||
async def index(_=Depends(auth)):
|
||||
return FileResponse("static/index.html")
|
||||
|
||||
|
||||
@app.get("/card_back.jpg")
|
||||
async def card_back():
|
||||
return FileResponse("static/card_back.jpg", media_type="image/jpeg")
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
uvicorn.run(app, host="0.0.0.0", port=PORT)
|
||||
|
||||
Reference in New Issue
Block a user