Add allowClientClassCreation option

This commit is contained in:
Marco129
2016-02-26 22:55:39 +08:00
parent 57c936485e
commit 97489106b4
7 changed files with 83 additions and 0 deletions

View File

@@ -85,6 +85,16 @@ export default {
return false;
}
},
"allowClientClassCreation": {
env: "PARSE_SERVER_ALLOW_CLIENT_CLASS_CREATION",
help: "Enable (or disable) client class creation, defaults to true",
action: function(opt) {
if (opt == "true" || opt == "1") {
return true;
}
return false;
}
},
"mountPath": {
env: "PARSE_SERVER_MOUNT_PATH",
help: "Mount path for the server, defaults to /parse",