fac19/week6-BGJK

user_page isn't returning any content at the moment

Opened this issue · 0 comments

jwld commented

Of course fine if that page isn't done yet, but since that's where you're redirecting users after sign up it probably should be addressed! Could either redirect to a finished page, or add a message with links to the other pages, whatever you think best!

res.writeHead(200, { "content-type": "text/html" });
res.end();
// model
// .getUserPosts(jwt.username)
// .then(result => result.rows)
// .then(posts => {
// res.end(templates.displayUserPosts(posts));
// })
// .catch(console.error);