Skip to content

Instantly share code, notes, and snippets.

@AntonioErdeljac
Last active September 19, 2018 15:35
Show Gist options
  • Save AntonioErdeljac/e95cf7856ca075dc74da1cb39081b963 to your computer and use it in GitHub Desktop.
Save AntonioErdeljac/e95cf7856ca075dc74da1cb39081b963 to your computer and use it in GitHub Desktop.
const http = require('http');
const config = require('./config');
http.createServer((req, res) => {
res.write('Hello Heroku!');
res.end();
}).listen(config.port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment