mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fix serving files in FolderServeNode.
This commit is contained in:
parent
16396f4af9
commit
8072497ef4
@ -12,7 +12,7 @@ void FolderServeNode::handle_request_main(Request *request) {
|
||||
return;
|
||||
}
|
||||
|
||||
String file_name = "/" + request->get_path();
|
||||
String file_name = request->get_path(true, false);
|
||||
|
||||
if (file_cache->wwwroot_has_file(file_name)) {
|
||||
String fp = file_cache->wwwroot;
|
||||
|
Loading…
Reference in New Issue
Block a user