[rabbitmq-discuss] Changing SockJS URL used in iframe mode
Adam Ashley
aashley at adamashley.name
Fri Nov 30 12:13:04 GMT 2012
On Fri, Nov 30, 2012 at 7:46 PM, Marek Majkowski <majek04 at gmail.com> wrote:
> Looking at the source code:
>
> https://github.com/rabbitmq/rabbitmq-web-stomp/blob/master/src/rabbit_ws_sockjs.erl#L29
>
> It looks like this has higher chances to work:
>
> [
> {sockjs, [
> {sockjs_opts, [
> {sockjs_url, "http://host.internal/htmlUi/js/sockjs.js"}
> ]}
> ]}
> ].
>
> Can you give it a shot?
>
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:
[
{rabbitmq_web_stomp, [
{sockjs_opts, [
{sockjs_url, "http://host.internal/htmlUi/js/sockjs.js"}
]}
]}
].
Adam Ashley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121130/4c08e579/attachment.htm>
More information about the rabbitmq-discuss
mailing list