AnsweredAssumed Answered

Application Deployment Issue in Beta2

Question asked by rscheitlin Champion on Jul 19, 2014
Latest reply on Sep 17, 2014 by Grant_Mullins

Moxie Zhang


There seems to be an issue in Beta 2 in the env.js when you build an app and choose download and deploy the app on your web server. If you do not manually set your apiUrl in the env.js then it goes down a function path to attempt to get the portal url and it fails severely and results in a apiUrl of  "http://gislap183/jsapi/jsapi/". This is due to the fact that the getPortalUrlFromLocation function is returning "http://gislap183/http://gislap183//" on my machine. Is there something that I have missed in the docs about environment setup or is this a bug in Beta2?