What is the 'sharinghost' setting in the Simple Map Viewer template?

Discussion created by aschaffer on Apr 9, 2014
Latest reply on Apr 10, 2014 by khutchins-esristaff
Downloaded the simple map viewer template from GithHub to deploy a web map locally on our ArcGIS Server.   In the config/defaults.js file there is a sharinghost setting, which defaults to   The comment there says to "set this value to your portal or organization host name".   During debugging I am seeing this being used to access REST urls that don't exist on our ArcGIS server (at AGS 10.1), so errors are being thrown although not to the end user.   If I set this to "" it causes other errors when attempting to parse this value elsewhere in the code.  Looking for clarification as to what this setting is intended for.  Thanks.