Replies: 2 comments
-
Hello, and sorry you are having trouble. Unfortunately nothing sticks out to me as wrong in the code you provided and there are too many missing pieces to reproduce the issue so we can help debug. If you can provide a complete reproduction and instructions for how to see the unexpected result, we can help debug to see what is going on. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@lerichardson removing all dynamic parts like this: app.get('/w/', async (req: any, res: any) => {
res.render('watch', { vurl: "X", vtitle: "X", vauthor: "X" });
}); do work as expected? (change those |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I asked this over on Stack Overflow, it got removed by the mods to the surprise of absolutely nobody.
I'm working with vanilla express & pug. My code looks like this:
If I go this page, it shows "undefined", and the browser console returns an HTTP 500. I see no errors in the console where express is running, and I have also tried removing all server data sent, so it looks just like
res.render('watch');
. This doesn't work either. All other pages work just fine. What is my issue? My SQL is fine, if Iconsole.log(results)
it returns exactly as expected. The URL looks likehttp://localhost:3000/w/?s=example
.Thanks in advance for any help
Beta Was this translation helpful? Give feedback.
All reactions