Skip to content

Commit 8cb3da9

Browse files
committed
fix
1 parent 26689e3 commit 8cb3da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_server.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ namespace cinatra {
232232

233233
void set_static_res_handler()
234234
{
235-
http_router_.register_handler<POST,GET>(STAIC_RES, [this](request& req, response& res){
235+
set_http_handler<POST,GET>(STAIC_RES, [this](request& req, response& res){
236236
auto state = req.get_state();
237237
switch (state) {
238238
case cinatra::data_proc_state::data_begin:

0 commit comments

Comments
 (0)