diff options
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r-- | include/webassets.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp index 3afa61f6f0..6fd0d60f6b 100644 --- a/include/webassets.hpp +++ b/include/webassets.hpp @@ -87,7 +87,7 @@ void request_routes(Crow<Middlewares...>& app) { } } } - app.route_dynamic(std::string(webpath.string()))( + app.route_dynamic(webpath.string())( [is_gzip, absolute_path_str, content_type](const crow::request& req, crow::response& res) { static const char* content_type_string = "Content-Type"; |