On Fri, Nov 30, 2012 at 7:46 PM, Marek Majkowski <span dir="ltr"><<a href="mailto:majek04@gmail.com" target="_blank">majek04@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Looking at the source code:<br>
<a href="https://github.com/rabbitmq/rabbitmq-web-stomp/blob/master/src/rabbit_ws_sockjs.erl#L29" target="_blank">https://github.com/rabbitmq/rabbitmq-web-stomp/blob/master/src/rabbit_ws_sockjs.erl#L29</a><br>
<br>
It looks like this has higher chances to work:<br>
<br>
[<br>
{sockjs, [<br>
{sockjs_opts, [<br>
{sockjs_url, "<a href="http://host.internal/htmlUi/js/sockjs.js" target="_blank">http://host.internal/htmlUi/js/sockjs.js</a>"}<br>
]}<br>
]}<br>
].<br>
<br>
Can you give it a shot?<br><span></span></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span> </span></blockquote></div><br>
<div>No luck with that config snippet I'm afraid, but you did point me to the correct module and code to look for. The get_env function further down that file is the key. For the record the working config snippet is:</div>
<div><br></div><div><div>[</div><div> {rabbitmq_web_stomp, [</div><div> {sockjs_opts, [</div><div> {sockjs_url, "<a href="http://host.internal/htmlUi/js/sockjs.js">http://host.internal/htmlUi/js/sockjs.js</a>"}</div>
<div> ]}</div><div> ]}</div><div>].</div></div><div><br></div><div>Adam Ashley</div><div><br></div>