Fix serving files in FolderServeNode.

This commit is contained in:
Relintai 2022-02-06 10:58:12 +01:00
parent 16396f4af9
commit 8072497ef4

View File

@ -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;