Add the addFileNameHash option that allows users to remove the hash f… (#4915)
* Add the addFileNameHash option that allows users to remove the hash from file names * Change option name to preserveFileName * Revert changes to package-lock.json
This commit is contained in:
committed by
Florent Vilmart
parent
0363728b83
commit
6a151ee135
@@ -135,6 +135,12 @@ module.exports.ParseServerOptions = {
|
||||
"env": "PARSE_SERVER_FILE_KEY",
|
||||
"help": "Key for your files"
|
||||
},
|
||||
"preserveFileName": {
|
||||
"env": "PARSE_SERVER_PRESERVE_FILE_NAME",
|
||||
"help": "Enable (or disable) the addition of a unique hash to the file names",
|
||||
"action": parsers.booleanParser,
|
||||
"default": false
|
||||
},
|
||||
"userSensitiveFields": {
|
||||
"env": "PARSE_SERVER_USER_SENSITIVE_FIELDS",
|
||||
"help": "Personally identifiable information fields in the user table the should be removed for non-authorized users.",
|
||||
|
||||
Reference in New Issue
Block a user