Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down