浏览代码

Merge pull request #43 from ParsePlatform/no-master-key

Remove default master key
Fosco Marotto 9 年之前
父节点
当前提交
7107a9e2e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -14,7 +14,7 @@ var api = new ParseServer({
   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 || 'myMasterKey'
+  masterKey: process.env.MASTER_KEY || '' //Add your master key here. Keep it secret!
 });
 // 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: