feat: per-page titles, OG/SEO tags, HOST/PORT env vars, BASE_URL in config

This commit is contained in:
2026-05-04 22:38:58 +02:00
parent 38a3aa6bbf
commit b30a6a102b
8 changed files with 42 additions and 11 deletions

View File

@@ -105,7 +105,7 @@ async fn test_app() -> Router {
auth_service: Arc::new(PanicAuth),
password_hasher: Arc::new(PanicHasher),
user_repository: Arc::new(NobodyUserRepo),
config: AppConfig { allow_registration: false },
config: AppConfig { allow_registration: false, base_url: "http://localhost:3000".to_string() },
},
html_renderer: Arc::new(AskamaHtmlRenderer::new()),
rss_renderer: Arc::new(RssAdapter::new("http://localhost:3000".into())),