diff --git a/misc/main.cpp b/misc/main.cpp index 0c734f0..54ce5e5 100644 --- a/misc/main.cpp +++ b/misc/main.cpp @@ -36,7 +36,9 @@ int main(int argc, char **argv) { }).unhandled([](auto *res, auto *req) { - res->end("Here's nothing for you to see!"); + res->writeStatus("404 Not Found"); + res->writeHeader("Content-Type", "text/html; charset=utf-8"); + res->end("