Created
July 20, 2016 01:57
-
-
Save mariyadiminsky/0642598af9eeb4c787201a851c4fc9e8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
if (req.url === '/') { | |
res.setHeader('Content-Type', 'text/html'); | |
res.setHeader('BrigadierFluffykins', 'isAwesome'); | |
res.setHeader('BunnyBunny', 'OhYeah'); | |
res.end('<html><body><h1>Bunny Server retrieved the Homepage!</h1><img src="http://weknowmemes.com/wp-content/uploads/2013/03/easter-bunny-meme-eggs.jpg"></body></html>') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment