pixwhile/routes/home.cpp

9 lines
277 B
C++
Raw Normal View History

2023-04-03 08:57:51 +00:00
#include "home.h"
2023-04-03 09:32:26 +00:00
#include "../servehelper.h"
2023-04-03 08:57:51 +00:00
2023-04-03 09:32:26 +00:00
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));
2023-04-03 08:57:51 +00:00
}