mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6f93ac5c4
@ -41,7 +41,7 @@ export class DiskMangerWorker {
|
||||
}
|
||||
|
||||
public static async excludeDir(name: string, relativeDirectoryName: string, absoluteDirectoryName: string) {
|
||||
if (Config.Server.Indexing.excludeFolderList.length === 0 ||
|
||||
if (Config.Server.Indexing.excludeFolderList.length === 0 &&
|
||||
Config.Server.Indexing.excludeFileList.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user