Add missing leaderboard.js static file route
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
93b753dedb
commit
546e63ffed
@ -970,6 +970,10 @@ if os.path.exists(client_path):
|
|||||||
async def serve_animation_queue():
|
async def serve_animation_queue():
|
||||||
return FileResponse(os.path.join(client_path, "animation-queue.js"), media_type="application/javascript")
|
return FileResponse(os.path.join(client_path, "animation-queue.js"), media_type="application/javascript")
|
||||||
|
|
||||||
|
@app.get("/leaderboard.js")
|
||||||
|
async def serve_leaderboard_js():
|
||||||
|
return FileResponse(os.path.join(client_path, "leaderboard.js"), media_type="application/javascript")
|
||||||
|
|
||||||
# Admin dashboard
|
# Admin dashboard
|
||||||
@app.get("/admin")
|
@app.get("/admin")
|
||||||
async def serve_admin():
|
async def serve_admin():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user