AnsweredAssumed Answered

SvgApi is not working when localhost is not available

Question asked by kesavkolla on Mar 26, 2011
Latest reply on Apr 1, 2011 by bernd.ruecker
My application server is running on remove host.  I'm accessing the cycle from my local laptop.  When I click on RawXML BPMN etc.. everything works.  When I click on SvgApi nothing comes up.

I've digged into detail and found when ever I click on SvgApi the URL for signavio-svg.js is actually coming as localhost:8080.

Here is more detail request response.



<html><head><link href="../../res/css/activiti-core.css" type="text/css" rel="stylesheet" /></head><body><div id="model"><script type="text/javascript" src="http://localhost:8080/activiti-modeler/api/signavio-svg.js"></script><script type="text/plain">{   url: "",   server: "", zoom: 100,              }</script></div></body></html>

Since the URL for signavio-svg.js is localhost it's not able to load it.  I looked into source and found SVGAPI_URL_LOCAL is hardcoded to localhost:8080 in

Looking forward to fix it.