Skip to content

Commit efc41a1

Browse files
committed
Merge pull request yongjhih#77 from rogerhu/serverurl
fix typo
2 parents e6608a9 + 183f379 commit efc41a1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

app.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
"logo": "https://avatars0.githubusercontent.com/u/1294580?v=3&s=200",
66
"keywords": ["node", "express", "parse"],
77
"env": {
8-
"PARSER_SERVER_URL": {
9-
"description": "URL to your parse server with http:// or https://",
10-
"required": true
11-
},
128
"PARSE_MOUNT": {
139
"description": "Configure Parse API route.",
1410
"value": "/parse"

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ if (!databaseUri) {
1111
}
1212

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

0 commit comments

Comments
 (0)