mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Example fix - should be no const qualifier
This commit is contained in:
parent
140e5c06fb
commit
a9a9d5e0de
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ int main(void)
|
||||||
|
|
||||||
Server svr;
|
Server svr;
|
||||||
|
|
||||||
svr.get("/hi", [](const Request& req, const Response& res) {
|
svr.get("/hi", [](const Request& req, Response& res) {
|
||||||
res.set_content("Hello World!", "text/plain");
|
res.set_content("Hello World!", "text/plain");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue