diff http.c @ 64:e8d8eaa0da53

pasterd: support <title> in header
author David Demelier <markand@malikania.fr>
date Thu, 26 May 2022 13:28:10 +0200
parents ecb0b90d94d8
children 1a98bc0daa49
line wrap: on
line diff
--- a/http.c	Thu May 26 13:09:33 2022 +0200
+++ b/http.c	Thu May 26 13:28:10 2022 +0200
@@ -75,7 +75,7 @@
 	log_debug("http: accessing page '%s'", req->path);
 
 	if (req->page == PAGE_LAST)
-		page(req, NULL, KHTTP_404, "pages/404.html");
+		page(req, NULL, KHTTP_404, "pages/404.html", "404");
 	else
 		handlers[req->page](req);
 }