Skip to content

Commit

Permalink
Merge pull request parse-community#77 from rogerhu/serverurl
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
drew-gross committed Feb 25, 2016
2 parents e6608a9 + 183f379 commit efc41a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
"logo": "https://avatars0.githubusercontent.com/u/1294580?v=3&s=200",
"keywords": ["node", "express", "parse"],
"env": {
"PARSER_SERVER_URL": {
"description": "URL to your parse server with http:// or https://",
"required": true
},
"PARSE_MOUNT": {
"description": "Configure Parse API route.",
"value": "/parse"
Expand Down
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ if (!databaseUri) {
}

var api = new ParseServer({
serverURL: process.env.PARSE_SERVER_URL,
databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
appId: process.env.APP_ID || 'myAppId',
masterKey: process.env.MASTER_KEY || '', //Add your master key here. Keep it secret!
serverUrl: process.env.SERVER_URL || 'http://localhost:1337' // Don't forget to change to https if needed
serverURL: process.env.SERVER_URL || 'http://localhost:1337' // Don't forget to change to https if needed
});
// Client-keys like the javascript key or the .NET key are not necessary with parse-server
// If you wish you require them, you can set them as options in the initialization above:
Expand Down

0 comments on commit efc41a1

Please sign in to comment.