mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +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;
|
||||
|
||||
svr.get("/hi", [](const Request& req, const Response& res) {
|
||||
svr.get("/hi", [](const Request& req, Response& res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue