diff --git a/frontend/index.html b/frontend/index.html index 4e649a6..8be9b1d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,6 +4,7 @@ ŻyrarBOT - Dashboard Kolejki + import { computed } from 'vue' -import { Music } from 'lucide-vue-next' import type { BotStatus, GuildSettings } from '@/types/status' const props = defineProps<{ @@ -23,7 +22,11 @@ const label = computed(() =>
- +

ŻyrarBOT

diff --git a/zyrarbot/application.py b/zyrarbot/application.py index e2544c5..c63f211 100644 --- a/zyrarbot/application.py +++ b/zyrarbot/application.py @@ -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."""