Instantly share code, notes, and snippets.

@vkuznecovas vkuznecovas/main.js Secret
Created Jan 26, 2018

What would you like to do?
const express = require('express')
const app = express()
app.enable('trust proxy')
app.get('/', (req, res) => res.send(req.ip))
app.listen(8080, () => console.log('Example app listening on port 8080!'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment