mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
parent
b8557ad9b0
commit
bc5c8e3b58
@ -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…
x
Reference in New Issue
Block a user