I'm trying to create a node.js application with Heroku. In my server.js file I use express to load a static html page. This is the express code in my server.js file. In the procfile from Heroku I set this as my starting point.
var app = require('express')();
var http = require('http').Server(app);
app.get('/', function(req, res){
res.sendFile(__dirname + 'index.html');
});
But when I push it to Heroku, Heroku doesn't show anything, so also no errors.
server.js, index.html are in the same folder