Skip to content

Instantly share code, notes, and snippets.

@electricimp
Created June 27, 2013 18:04
Show Gist options
  • Save electricimp/5878784 to your computer and use it in GitHub Desktop.
Save electricimp/5878784 to your computer and use it in GitHub Desktop.
This is a useful snippet to have at the top of your agent code to output the agent URL whenever the agent starts.
server.log(http.agenturl()); // output the agent url to the log console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment