-
-
Save samuelayo/df7da1c7c09d3f78b2cbca5d6ffdda2e 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
server.get('/p/:id', (req, res) => { | |
const actualPage = '/post' | |
const queryParams = { id: req.params.id } | |
app.render(req, res, actualPage, queryParams) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment