about summary refs log tree commit diff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 954f1f2..27adc1a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -35,7 +35,8 @@ where
         Ok(Response::builder(200).body(MICROPUB_CLIENT).content_type("text/html").build())
     });
     app.at("/").with(frontend::ErrorHandlerMiddleware {})
-        .get(frontend::mainpage);
+        .get(frontend::mainpage)
+        .post(frontend::onboarding_receiver);
     app.at("/static/*path").with(frontend::ErrorHandlerMiddleware {}).get(frontend::handle_static);
     app.at("/*path").with(frontend::ErrorHandlerMiddleware {}).get(frontend::render_post);
     app.at("/coffee").with(frontend::ErrorHandlerMiddleware {}).get(frontend::coffee);