mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Adding default trash folders to the folder exclusion list #161
This commit is contained in:
parent
c06a2b887e
commit
4cb3a55362
@ -103,7 +103,7 @@ export module ServerConfig {
|
|||||||
' If it doesn\'t start with \'/\' but contains a \'/\', the path is relative to the image directory.' +
|
' If it doesn\'t start with \'/\' but contains a \'/\', the path is relative to the image directory.' +
|
||||||
' If it doesn\'t contain a \'/\', any folder with this name will be excluded.'
|
' If it doesn\'t contain a \'/\', any folder with this name will be excluded.'
|
||||||
})
|
})
|
||||||
excludeFolderList: string[] = [];
|
excludeFolderList: string[] = ['.Trash-1000', '.dtrash', '$RECYCLE.BIN'];
|
||||||
@ConfigProperty({arrayType: 'string', description: 'Any folder that contains a file with this name will be excluded from indexing.'})
|
@ConfigProperty({arrayType: 'string', description: 'Any folder that contains a file with this name will be excluded from indexing.'})
|
||||||
excludeFileList: string[] = [];
|
excludeFileList: string[] = [];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user