We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72fa1f2 + 585ba8d commit c106ac6Copy full SHA for c106ac6
bin/parse-server
@@ -35,9 +35,9 @@ if (process.env.PARSE_SERVER_OPTIONS) {
35
36
var mountPath = process.env.PARSE_SERVER_MOUNT_PATH || "/";
37
var api = new ParseServer(options);
38
-app.use('/', api);
+app.use(mountPath, api);
39
40
var port = process.env.PORT || 1337;
41
app.listen(port, function() {
42
console.log('parse-server-example running on http://localhost:'+ port + mountPath);
43
-});
+});
0 commit comments