diff options
Diffstat (limited to 'src/frontend/mod.rs')
-rw-r--r-- | src/frontend/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 1069b92..daeebd9 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -278,7 +278,7 @@ pub fn homepage<D: Storage>(db: D, endpoints: IndiewebEndpoints) -> impl Filter< Box::new(warp::reply::html(Template { title: &blog_name, blog_name: &blog_name, - endpoints, + endpoints: Some(endpoints), feeds, user: None, // TODO content: MainPage { feed: &feed, card: &card }.to_string() @@ -303,7 +303,7 @@ pub fn onboarding<D: Storage, T: hyper::client::connect::Connect + Clone + Send .map(move || warp::reply::html(Template { title: "Kittybox - Onboarding", blog_name: "Kittybox", - endpoints: endpoints.clone(), + endpoints: Some(endpoints.clone()), feeds: vec![], user: None, content: OnboardingPage {}.to_string() @@ -408,7 +408,7 @@ pub fn catchall<D: Storage>(db: D, endpoints: IndiewebEndpoints) -> impl Filter< warp::reply::with_status(warp::reply::html(Template { title: &title, blog_name: &blog_name, - endpoints, + endpoints: Some(endpoints), feeds, user: None, // TODO content, |