0 points

node.js - How to get current url path in express with ejs - Stack Overflow


dashboard

Sun Jun 14 2020 18:07:51 GMT+0000 (UTC)

Posted by @mishka #javascript #express

var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
content_copy Copy

https://stackoverflow.com/questions/42943124/how-to-get-current-url-path-in-express-with-ejs/42943283