diff --git a/servehelper.cpp b/servehelper.cpp index c16f1d1..dad3698 100644 --- a/servehelper.cpp +++ b/servehelper.cpp @@ -14,7 +14,8 @@ void serve(const httplib::Request& req, httplib::Response& res, const Config& co Element("head", { Element("meta", {{"charset", "utf-8"}}, {}), Element("title", {std::move(title)}), - Element("link", {{"rel", "stylesheet"}, {"href", std::move(css_url)}}, {}) + Element("link", {{"rel", "stylesheet"}, {"href", std::move(css_url)}}, {}), + Element("meta", {{"name", "viewport"}, {"content", "width=device-width,initial-scale=1"}}, {}) }), std::move(element) });