diff --git a/app.json b/app.json index 022859b272..e019005a87 100644 --- a/app.json +++ b/app.json @@ -19,7 +19,7 @@ }, "SERVER_URL": { "description": "URL to connect to your Heroku instance (update with your app's name + PARSE_MOUNT)", - "value": "http://yourappname.herokuapp.com/parse" + "value": "https://my-parse-server-codecraft-ex.herokuapp.com" } }, "image": "heroku/nodejs", diff --git a/index.js b/index.js index 568d6e51f1..df201356c7 100644 --- a/index.js +++ b/index.js @@ -12,14 +12,14 @@ if (!databaseUri) { var api = new ParseServer({ //**** General Settings ****// - databaseURI: databaseUri || 'mongodb://localhost:27017/dev', + databaseURI: databaseUri || 'mongodb://zouhairkhallaf:Zouzou#007@ds125262.mlab.com:25262/heroku_hnp8pl7f', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', - serverURL: process.env.SERVER_URL || 'http://localhost:1337/parse', // Don't forget to change to https if needed + serverURL: process.env.SERVER_URL || 'https://my-parse-server-codecraft-ex.herokuapp.com/', // Don't forget to change to https if needed //**** Security Settings ****// // allowClientClassCreation: process.env.CLIENT_CLASS_CREATION || false, appId: process.env.APP_ID || 'myAppId', - masterKey: process.env.MASTER_KEY || 'myMasterKey', //Add your master key here. Keep it secret! + masterKey: process.env.MASTER_KEY || 'myMasterKey', //Add your master key here. Keep it secret! //**** Live Query ****// // liveQuery: {