Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
express-test
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
You can’t perform that action at this time.