We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595a530 commit 687f8b8Copy full SHA for 687f8b8
include/cinatra/coro_http_server.hpp
@@ -228,12 +228,12 @@ class coro_http_server {
228
}
229
230
std::filesystem::path router_path =
231
- std::filesystem::u8path(static_dir_router_path_);
+ std::filesystem::path(static_dir_router_path_);
232
233
std::string uri;
234
for (auto &file : files_) {
235
auto relative_path =
236
- std::filesystem::u8path(file.substr(static_dir_.length())).string();
+ std::filesystem::path(file.substr(static_dir_.length())).string();
237
if (size_t pos = relative_path.find('\\') != std::string::npos) {
238
replace_all(relative_path, "\\", "/");
239
0 commit comments