|
@@ -14,8 +14,8 @@ if (!databaseUri) {
|
|
var api = new ParseServer({
|
|
var api = new ParseServer({
|
|
databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
|
|
databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
|
|
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
|
|
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
|
|
- appId: 'myAppId',
|
|
|
|
- masterKey: 'myMasterKey'
|
|
|
|
|
|
+ appId: process.env.APP_ID || 'myAppId',
|
|
|
|
+ masterKey: process.env.MASTER_KEY || 'myMasterKey'
|
|
});
|
|
});
|
|
// Client-keys like the javascript key or the .NET key are not necessary with parse-server
|
|
// 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:
|
|
// If you wish you require them, you can set them as options in the initialization above:
|