Created
October 19, 2016 14:11
-
-
Save srs/05d22636e57d5d75f14735046213986a to your computer and use it in GitHub Desktop.
PurpleJS Blog - Snippet 10
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
router.get('/random', function(req) { | |
return { | |
body: getRandom(10) | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment