feat: add dashboard icon
Backend / Lint i formatowanie (push) Successful in 4s
Backend / Testy i kontrakt API (push) Successful in 5s
Panel / Lint, typy i build (push) Successful in 19s
Backend / Testowy build obrazu (push) Successful in 14s

This commit is contained in:
mmacierzanka committed 2026-08-21 21:53:32 +02:00
1 parent 07041ac881
commit 7e78e3cd19
5 files changed
+16 -9

No files matched your search

+5
View File
@@ -85,6 +85,11 @@ class Application:
os.makedirs(self.settings.static_dir, exist_ok=True)
@self.web.get("/icon.jpeg", include_in_schema=False)
async def favicon() -> FileResponse:
"""Serve the dashboard icon before the SPA guild fallback route."""
return FileResponse(os.path.join(self.settings.static_dir, "icon.jpeg"))
@self.web.get("/{guild_route}", include_in_schema=False)
async def guild_panel(guild_route: str) -> FileResponse:
"""Serve the SPA for a direct link to a guild view."""