mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String file_name = "/" + request->get_path();
|
String file_name = request->get_path(true, false);
|
||||||
|
|
||||||
if (file_cache->wwwroot_has_file(file_name)) {
|
if (file_cache->wwwroot_has_file(file_name)) {
|
||||||
String fp = file_cache->wwwroot;
|
String fp = file_cache->wwwroot;
|
||||||
|
Loading…
Reference in New Issue
Block a user