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 67be8e5 + 691544b commit eadf4b1Copy full SHA for eadf4b1
index.js
@@ -35,6 +35,10 @@ app.use(mountPath, api);
35
app.get('/', function(req, res) {
36
res.status(200).send('I dream of being a web site.');
37
});
38
+ // If you are migrating a webapp hosted on domain.parseapp.com:
39
+ // Remove statement above serving the 200 status (app.get('/ function()});
40
+ // Uncomment app.use below and set the absolute path for serving files in the /public dir
41
+ // app.use(express.static(__dirname + '/public'));
42
43
app.get('/test', function(req, res) {
44
res.sendFile(path.join(__dirname, '/public/test.html'));
0 commit comments