We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 017437d + c86fab4 commit e6608a9Copy full SHA for e6608a9
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: process.env.PARSE_SERVER_URL,
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