We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e68ef commit 4151cb0Copy full SHA for 4151cb0
index.js
@@ -10,7 +10,9 @@ import http from 'http';
10
export const config = {
11
databaseURI:
12
process.env.DATABASE_URI || process.env.MONGODB_URI || 'mongodb://localhost:27017/dev',
13
- cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
+ cloud: function () {
14
+ import('./cloud/main.js');
15
+ },
16
appId: process.env.APP_ID || 'myAppId',
17
masterKey: process.env.MASTER_KEY || '', //Add your master key here. Keep it secret!
18
serverURL: process.env.SERVER_URL || 'http://localhost:1337/parse', // Don't forget to change to https if needed
0 commit comments