Infers serverURL based on mountPath and port

This commit is contained in:
Florent Vilmart
2016-02-24 19:16:02 -05:00
parent fe11fb54fc
commit db5338abaa
2 changed files with 12 additions and 8 deletions

View File

@@ -9,11 +9,6 @@ export default {
help: "Your Parse Master Key",
required: true
},
"serverURL": {
env: "PARSE_SERVER_URL",
help: "URL to your parse server with http:// or https://.",
required: true
},
"port": {
port: "PORT",
help: "The port to run the ParseServer. defaults to 1337.",
@@ -30,6 +25,10 @@ export default {
env: "PARSE_SERVER_DATABASE_URI",
help: "The full URI to your mongodb database"
},
"serverURL": {
env: "PARSE_SERVER_URL",
help: "URL to your parse server with http:// or https://.",
},
"clientKey": {
env: "PARSE_SERVER_CLIENT_KEY",
help: "Key for iOS, MacOS, tvOS clients"