-
-
Save vkuznecovas/1e615a5a9f9370dfe7caddf9fe626011 to your computer and use it in GitHub Desktop.
express-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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