{
let mut status = 200;
let mut page = PageTemplate {
@@ -290,6 +318,7 @@ async fn main() {
root.at("/").get(handle_request);
root.at("update").get(update_subscribers);
+ root.at("unsubscribe").get(unsubscribe);
let fd_count = handle_error(listen_fds(true), 71, "sd_listen_fds");
diff --git a/templates/page.html b/templates/page.html
index feab091..08212e1 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -172,17 +172,17 @@
{%- if subscribed -%}
You will be notified be by mail when this PR reaches a new branch
{%- endif -%}
+ Back to home