Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 084c643

Browse files
committed
Fixed README
1 parent 824e768 commit 084c643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ svr.set_exception_handler([](const auto& req, auto& res, std::exception &e) {
220220
### Pre routing handler
221221

222222
```cpp
223-
svr.set_pre_routing_handler([](const auto& req, auto& res) -> bool {
223+
svr.set_pre_routing_handler([](const auto& req, auto& res) {
224224
if (req.path == "/hello") {
225225
res.set_content("world", "text/html");
226226
return Server::HandlerResponse::Handled;

0 commit comments

Comments
 (0)