Skip to content

Instantly share code, notes, and snippets.

@brianswisher
Created November 14, 2017 23:04
Show Gist options
  • Save brianswisher/11b0b55a06940fbe79a729be8b2ae063 to your computer and use it in GitHub Desktop.
Save brianswisher/11b0b55a06940fbe79a729be8b2ae063 to your computer and use it in GitHub Desktop.
Requested URL
var requestedUrl = req.protocol + '://' + req.get('Host') + req.url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment