Skip to content

Commit

Permalink
Merge pull request #338 from CrowCpp/fix_404_static
Browse files Browse the repository at this point in the history
Static file 404 fix
  • Loading branch information
The-EDev authored Feb 10, 2022
2 parents e8e4626 + 9f6e099 commit 5a651b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/crow/http_response.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ namespace crow
else
{
code = 404;
file_info.path.clear();
this->end();
}
}
Expand Down

0 comments on commit 5a651b0

Please sign in to comment.