diff --git a/server_http.hpp b/server_http.hpp index 5168784..3a20469 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -38,6 +38,7 @@ namespace SimpleWeb { void start() { //All resources with default_resource at the end of vector //Used in the respond-method + all_resources.clear(); for(auto it=resource.begin(); it!=resource.end();it++) { all_resources.push_back(it); }