use arrow not .

This commit is contained in:
oscar.chen 2022-05-14 19:10:05 -07:00
parent 89d99f6ae9
commit 7164517622
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ namespace crow
WebSocketRule(std::string rule, App* app):
BaseRule(std::move(rule)),
app_(app),
max_payload_(app_.websocket_max_payload())
max_payload_(app_->websocket_max_payload())
{}
void validate() override

View File

@ -82,7 +82,7 @@ namespace crow
close_handler_(std::move(close_handler)),
error_handler_(std::move(error_handler)),
accept_handler_(std::move(accept_handler)),
max_payload_bytes_(handler.websocket_max_payload())
max_payload_bytes_(handler->websocket_max_payload())
{
if (!boost::iequals(req.get_header_value("upgrade"), "websocket"))
{