Created
January 22, 2015 10:21
-
-
Save zhuangya/b8c42b9d177df23d9e24 to your computer and use it in GitHub Desktop.
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
require('http').createServer(function (req, res) { | |
res.end(req.headers['user-agent']); | |
}).listen(process.env.PORT || 7878); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment