File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 "PARSE_MOUNT" : {
99 "description" : " Configure Parse API route." ,
1010 "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"
1119 }
1220 },
1321 "image" : " heroku/nodejs" ,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ if (!databaseUri) {
1414var api = new ParseServer ( {
1515 databaseURI : databaseUri || 'mongodb://localhost:27017/dev' ,
1616 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'
1919} ) ;
2020// Client-keys like the javascript key or the .NET key are not necessary with parse-server
2121// 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