Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Aug 1, 2018
1 parent 26689e3 commit 8cb3da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace cinatra {

void set_static_res_handler()
{
http_router_.register_handler<POST,GET>(STAIC_RES, [this](request& req, response& res){
set_http_handler<POST,GET>(STAIC_RES, [this](request& req, response& res){
auto state = req.get_state();
switch (state) {
case cinatra::data_proc_state::data_begin:
Expand Down

0 comments on commit 8cb3da9

Please sign in to comment.