Sfoglia il codice sorgente

Fixed documentation.

yhirose 11 anni fa
parent
commit
6120367290
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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");
     });