diff --git a/include/crow/http_response.h b/include/crow/http_response.h index 505c7c3f1..20d5157ce 100644 --- a/include/crow/http_response.h +++ b/include/crow/http_response.h @@ -243,6 +243,7 @@ namespace crow else { code = 404; + file_info.path.clear(); this->end(); } }