diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index b974a93..37420ac 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -368,7 +368,7 @@ where let site_name = &request .state() .storage - .get_setting("site_name", &request.url().host().unwrap().to_string()) + .get_setting("site_name", &(request.url().origin().ascii_serialization().clone() + "/")) .await .unwrap_or_else(|_| "Kitty Box!".to_string()); let mut res = next.run(request).await; |