Show hidden directories in browser
This commit is contained in:
1 parent
e96f4d8d15
commit
04c19780eb
5 files changed
+9
-2
No files matched your search
@@ -355,7 +355,7 @@ void CrossPointWebServer::scanFiles(const char* path, const std::function<void(F
|
||||
auto fileName = String(name);
|
||||
|
||||
// Skip hidden items (starting with ".")
|
||||
bool shouldHide = fileName.startsWith(".");
|
||||
bool shouldHide = !SETTINGS.showHiddenFiles && fileName.startsWith(".");
|
||||
|
||||
// Check against explicitly hidden items list
|
||||
if (!shouldHide) {
|
||||
|
||||
Reference in new issue
Block a user