We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897f672 commit 147e3b0Copy full SHA for 147e3b0
src/httpserver.cpp
@@ -158,7 +158,8 @@ class http_connection : public std::enable_shared_from_this<http_connection>
158
beast::ostream(response_.body()) << lambda_(std::move(url));
159
} else if (target.find("/api/reinit") == 0) {
160
response_.set(http::field::content_type, "text/plain");
161
- beast::ostream(response_.body()) << "REINITReceived Reinitialize Request OK\r\n";
+ std::string url = "REINIT";
162
+ beast::ostream(response_.body()) << lambda_(std::move(url));
163
} else {
164
response_.result(http::status::not_found);
165
0 commit comments