Prechádzať zdrojové kódy

Fixed documentation.

yhirose 11 rokov pred
rodič
commit
6120367290
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -25,7 +25,7 @@ int main(void)
         res.set_content("Hello World!", "text/plain");
     });
 
-    svr_.get("/numbers/(\d+)", [&](const auto& req, auto& res) {
+    svr_.get(R"(/numbers/(\d+))", [&](const auto& req, auto& res) {
         string numbers = req.matches[1];
         res.set_content(numbers, "text/plain");
     });