http://<Your Web Server>/<app folder name>/index.html
'sharinghost': location.protocol + '//' + “<your organization name>.maps.arcgis.com
arcgis
is the name of the Web Adaptor: 'sharinghost': location.protocol + '//' + 'webadaptor.domain.com/arcgis'
'//js.arcgis.com/'
and replace this portion of the reference with the url to your local install.'//webadaptor.domain.com/arcgis/jsapi/jsapi'
where arcgis
is the name of your Web Adaptor.