Fork me on GitHub
#re-frame
<
2021-02-27
>
Ruben.Hamers07:02:15

Does re-frame hhtp-fx have a way to set the cors headers?

p-himik08:02:54

If you mean :http-xhrio, then you can use anything that cljs-ajax uses. In this case, just set an appropriate :headers map.

Ruben.Hamers08:02:56

yea, great! thx!

👍 3
superstructor06:02:04

Alternatively if you don't need legacy browser support - https://github.com/superstructor/re-frame-fetch-fx