From c680f3c4194391d3314583eb28f235d1a7015b8d Mon Sep 17 00:00:00 2001 From: Lewis Date: Fri, 13 Mar 2026 22:22:52 +0200 Subject: [PATCH] fix(homepage): favicon should render in title # I am sorry I forgot this. Now pds.ls will show beautiful icons when showing Tranquil PDSes. --- crates/tranquil-pds/src/lib.rs | 2 +- frontend/public/homepage.html | 5 +++-- frontend/src/components/dashboard/AdminContent.svelte | 2 +- frontend/src/lib/serverConfig.svelte.ts | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/crates/tranquil-pds/src/lib.rs b/crates/tranquil-pds/src/lib.rs index 92ea00b..be82a39 100644 --- a/crates/tranquil-pds/src/lib.rs +++ b/crates/tranquil-pds/src/lib.rs @@ -662,7 +662,7 @@ pub fn app(state: AppState) -> Router { .route("/metrics", get(metrics::metrics_handler)) .route("/health", get(api::server::health)) .route("/robots.txt", get(api::server::robots_txt)) - .route("/logo", get(api::server::get_logo)) + .route("/favicon.ico", get(api::server::get_logo)) .route("/u/{handle}/did.json", get(api::identity::user_did_doc)) .route( "/webhook/telegram", diff --git a/frontend/public/homepage.html b/frontend/public/homepage.html index a4b1091..5e12578 100644 --- a/frontend/public/homepage.html +++ b/frontend/public/homepage.html @@ -3,6 +3,7 @@ + Tranquil PDS