figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
hagmonk 2017-12-12T00:00:12.000303Z

I believe this will do the trick, as far as what the docs imply

hagmonk 2017-12-12T00:00:19.000258Z

(def-key ::ring-handler      ::string-or-named

  "If you want to embed a ring handler into the figwheel http-kit server;
this is for simple ring servers, if this doesn't work for you just run
your own server.
Default: Off
  :ring-handler example.core/my-server-handler")

hagmonk 2017-12-12T00:01:26.000169Z

I'm more of a pedestal fan myself, but it appears dropping in https://github.com/r0man/ring-cors should handle it

hagmonk 2017-12-12T00:02:02.000006Z

You should see the browser make an options request to get the CORS settings ... I'd just set the allow-origin to *