You've already forked cpp-httplib
							
							Correct the example in README.
This commit is contained in:
		@@ -25,8 +25,8 @@ int main(void)
 | 
				
			|||||||
        res.set_content("Hello World!", "text/plain");
 | 
					        res.set_content("Hello World!", "text/plain");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    svr_.get(R"(/numbers/(\d+))", [&](const auto& req, auto& res) {
 | 
					    svr.get(R"(/numbers/(\d+))", [&](const auto& req, auto& res) {
 | 
				
			||||||
        string numbers = req.matches[1];
 | 
					        auto numbers = req.matches[1];
 | 
				
			||||||
        res.set_content(numbers, "text/plain");
 | 
					        res.set_content(numbers, "text/plain");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user