Friday 2 June 2017

How to remove/hide document.location.href when res.render?

If I do res.render(templateName) in node.js the docoument.location automatically becomes domain/templateName.

How can I hide that server-side, and let the url remain the same (simply 'domain')?



via konyv12

No comments:

Post a Comment