From 4e4dbec1204f80a4c0b12afed528c312e9b5e39d Mon Sep 17 00:00:00 2001 From: Farook Al-Sammarraie Date: Sat, 23 Jul 2022 16:51:46 +0300 Subject: [PATCH] formatting --- include/crow/app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crow/app.h b/include/crow/app.h index 089a15b24..cb795fa71 100644 --- a/include/crow/app.h +++ b/include/crow/app.h @@ -283,7 +283,7 @@ namespace crow std::string static_dir_(CROW_STATIC_DIRECTORY); std::replace(static_dir_.begin(), static_dir_.end(), '\\', '/'); if (static_dir_[static_dir_.length() - 1] != '/') - static_dir_ += '/'; + static_dir_ += '/'; route(CROW_STATIC_ENDPOINT)([static_dir_](crow::response& res, std::string file_path_partial) { utility::sanitize_filename(file_path_partial);