Show hidden directories in browser
This commit is contained in:
@@ -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