Fork me on GitHub
#lein-figwheel
<
2016-01-08
>
virmundi01:01:28

hello. I'm trying to make a re-frame app work. I want to use compojure for HTTP over RPC. The configuration is :figwheel {:css-dirs ["resources/public/css"] :ring-handler loki.handler/app}

virmundi01:01:16

when I've added the ring-json to it, the system craps out.

virmundi01:01:03

has anyone tried this?

keeds12:01:51

Just had a rummage around the docs and issues. It would appear that secure websocket connection (wss://) is not supported. Can someone confirm that this is the case. Thx.

bhauman15:01:44

@keeds I really don't think so...

bhauman15:01:41

@keeds you can proxy to the server with somthing like https://github.com/jugyo/tunnels

keeds15:01:32

Thx @bhauman . I thought that was the case. I'll have a look at the link you supplied. The scenario is mobile web dev/test on phone linked to a wifi network that goes thru a secure proxy to another network running the figwheel server... Convoluted I know.

bhauman15:01:47

@keeds if it's already going through a proxy I'm pretty sure that you can use a wss:// :websocket-url in the :figwheel client level config

keeds16:01:09

Oh ok. It's something we are trying to setup. Once the proxy is configured I'll give it a go. Thx