pixwhile/routes/home.cpp

9 lines
277 B
C++

#include "home.h"
#include "../servehelper.h"
void home_route(const httplib::Request& req, httplib::Response& res, const Config& config) {
Element body("body");
body.nodes.push_back(Element("h1", {"awoo"}));
serve(req, res, config, "Pixwhile", std::move(body));
}