Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions routstr/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ async def lifespan(_: FastAPI) -> AsyncGenerator[None, None]:
async with create_session() as session:
s = await SettingsService.initialize(session)

if not s.admin_password:
logger.info(
f"Admin password is not set. Visit {s.http_url or 'http://localhost:8000'}/admin to set the password."
)

# Apply app metadata from settings
try:
app.title = s.name
Expand Down
Loading