Created
June 27, 2013 18:04
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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