Created
August 21, 2017 07:52
-
-
Save thebopshoobop/086389bc7c1e3459f17b0a14eb260085 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.get("/", loggedInOnly, (req, res) => { | |
res.render("index", { username: req.user.username }); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment