Friday, 12 June 2020

Express - Render EJS without url parameters

Hi! I've been using node js for a few months and I'm having an issue, because in my url I'm having an auth token and when I want to refresh that page and the session/token is no longer valid it redirects me to an error page; but I don't want that.Any one knows if there is a way to remove the url parameters from ejs (or even on the res.render(ejes, params)) or redirect to an ejs?

Submitted June 12, 2020 at 05:51PM by Jerbz96

No comments:

Post a Comment