Absolute path is no longer required for cloud code (#6993)

This commit is contained in:
Gunnar Oledal
2020-11-05 17:55:42 +01:00
committed by GitHub
parent ccb6c046e2
commit dbf04f381c

View File

@@ -214,7 +214,7 @@ var app = express();
var api = new ParseServer({
databaseURI: 'mongodb://localhost:27017/dev', // Connection string for your MongoDB database
cloud: '/home/myApp/cloud/main.js', // Absolute path to your Cloud Code
cloud: './cloud/main.js', // Path to your Cloud Code
appId: 'myAppId',
masterKey: 'myMasterKey', // Keep this key secret!
fileKey: 'optionalFileKey',