TASK00 - Стабилизация бэкенда

This commit is contained in:
Антон
2025-06-24 09:08:11 +03:00
parent 23849ba03a
commit 87fdd33d62
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -47,6 +47,8 @@ void HandleRequest(
return res;
};
// /v1/api/MyOwnUrl?query=123 // посмотреть парсер url'ов
if (req.method() != boost::beast::http::verb::get &&
req.method() != boost::beast::http::verb::head)
return send(bad_request("Unknown boost::beast::HTTP-method"));