Skip to content

Instantly share code, notes, and snippets.

@samuelayo samuelayo/block5.js Secret
Created Apr 2, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.