Merge branch 'feat-hiddenfiles' of https://github.com/jpirnay/crosspoint-reader into mybuild
This commit is contained in:
@@ -354,7 +354,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