mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-04 08:45:45 +03:00
feat(nicegui): add favicon
This commit is contained in:
parent
ed3f58ed93
commit
5b81eb5566
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,7 @@ import pages.registry
|
|||
import theme
|
||||
|
||||
from nicegui import ui
|
||||
from utils.helper import get_project_root
|
||||
|
||||
|
||||
@ui.page("/")
|
||||
|
@ -25,4 +26,9 @@ def registry_page() -> None:
|
|||
pages.registry.content()
|
||||
|
||||
|
||||
ui.run(title="uBlue Forge", port=3000)
|
||||
project_root = get_project_root()
|
||||
ui.run(
|
||||
title="uBlue-OS Forge",
|
||||
port=3000,
|
||||
favicon=f"{project_root}/pages/assets/favicon.png",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue