Fixed card back

This commit is contained in:
2026-05-13 22:09:25 -05:00
parent 486cb348bb
commit 7a0224e380
3 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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)