Created
November 30, 2018 09:43
-
-
Save Mirch/06d50d3c711c17f3bb95ac75d3e884d8 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
app.post('/api/posts', | |
passport.authenticate('jwt', | |
{ session: false }), | |
handlePost) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment