const express = require('express');
const favicon = require('serve-favicon');
const app = express();


app.get('/', (req, res) => res.send('Hello World'));

app.use(favicon(__dirname + '/public/favicon.ico'));

app.listen(3000);

const express = require('express');
const favicon = require('serve-favicon');
const app = express();


app.get('/', (req, res) => res.send('Hello World'));

app.use(favicon(__dirname + '/public/favicon.ico'));

app.listen(process.env.PORT || 3000);

Set default port to env variable
Set default port to env variable
