Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node get current url

const fullUrl = `${req.protocol}://${req.get("host")}${req.originalUrl}`;
 
PREVIOUS NEXT
Tagged: #node #current #url
ADD COMMENT
Topic
Name
2+3 =