We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/
1 parent a6206d4 commit c84fbd3Copy full SHA for c84fbd3
1 file changed
lib/cloud.js
@@ -220,7 +220,11 @@ Cloud.start = function() {
220
masterKey: process.env.LEANCLOUD_APP_MASTER_KEY,
221
});
222
}
223
- server = AV.express().listen(PORT, function() {
+ const app = AV.express();
224
+ app.use('/', function(req, res) {
225
+ res.end('This is a LeanEngine application.');
226
+ });
227
+ server = app.listen(PORT, function() {
228
console.log('LeanEngine Cloud Functions app is running, port:', PORT);
229
230
};
0 commit comments