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 12c30f2 commit 693f31fCopy full SHA for 693f31f
esp3d/src/modules/http/handlers/handle-SD-files.cpp
@@ -75,7 +75,9 @@ void HTTP_Server::handleSDFileList() {
75
76
// get current path
77
if (_webserver->hasArg("path")) {
78
- path += _webserver->arg("path");
+ path = _webserver->arg("path");
79
+ } else {
80
+ path = "/";
81
}
82
// to have a clean path
83
path.trim();
esp3d/src/modules/http/handlers/handle-files.cpp
@@ -63,7 +63,9 @@ void HTTP_Server::handleFSFileList() {
63
64
65
66
67
68
69
70
71
0 commit comments