We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f595d commit 9a762daCopy full SHA for 9a762da
2 files changed
app.json
@@ -5,6 +5,10 @@
5
"logo": "https://avatars0.githubusercontent.com/u/1294580?v=3&s=200",
6
"keywords": ["node", "express", "parse"],
7
"env": {
8
+ "PARSER_SERVER_URL": {
9
+ "description": "URL to your parse server with http:// or https://",
10
+ "required": true
11
+ },
12
"PARSE_MOUNT": {
13
"description": "Configure Parse API route.",
14
"value": "/parse"
index.js
@@ -11,6 +11,7 @@ if (!databaseUri) {
}
var api = new ParseServer({
+ serverURL: "https://your-app-name.herokuapp.com/parse",
15
databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
16
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
17
appId: process.env.APP_ID || 'myAppId',
0 commit comments