File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
"PARSE_MOUNT" : {
9
9
"description" : " Configure Parse API route." ,
10
10
"value" : " /parse"
11
+ },
12
+ "APP_ID" : {
13
+ "description" : " A unique identifier for your app." ,
14
+ "value" : " myAppId"
15
+ },
16
+ "MASTER_KEY" : {
17
+ "description" : " A key that overrides all permissions. Keep this secret." ,
18
+ "value" : " myMasterKey"
11
19
}
12
20
},
13
21
"image" : " heroku/nodejs" ,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ if (!databaseUri) {
14
14
var api = new ParseServer ( {
15
15
databaseURI : databaseUri || 'mongodb://localhost:27017/dev' ,
16
16
cloud : process . env . CLOUD_CODE_MAIN || __dirname + '/cloud/main.js' ,
17
- appId : 'myAppId' ,
18
- masterKey : 'myMasterKey'
17
+ appId : process . env . APP_ID || 'myAppId' ,
18
+ masterKey : process . env . MASTER_KEY || 'myMasterKey'
19
19
} ) ;
20
20
// Client-keys like the javascript key or the .NET key are not necessary with parse-server
21
21
// If you wish you require them, you can set them as options in the initialization above:
You can’t perform that action at this time.
0 commit comments