Relative Content

Tag Archive for htmlnode.jsejs

Details ejs not working after database query

I have a context in node.js called Blog which displays the blogs which users have inputed to the database on one webpage. I then have a method which after a user clicks on the blog then tries to display a webpage with just the one blog entry. It queries by the ID of the blog post here is the code in the app.js file.