This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-29
Channels
- # announcements (1)
- # babashka (5)
- # beginners (64)
- # cider (9)
- # circleci (11)
- # clojure (80)
- # clojure-uk (25)
- # clojured (6)
- # clojurescript (35)
- # css (1)
- # cursive (3)
- # datomic (6)
- # fulcro (10)
- # graphql (3)
- # kaocha (2)
- # leiningen (3)
- # lumo (3)
- # malli (10)
- # meander (24)
- # off-topic (17)
- # re-frame (10)
- # reagent (2)
- # ring (1)
- # shadow-cljs (27)
- # spacemacs (3)
- # tree-sitter (3)
Hi, I am trying to allow my app to be embedded into other websites. I am removing X-Frame-Options on embedding routes to allow cross origin embeddings. But Sente handshake fails with 403. Any idea what might be wrong? If I open the route directly, everything works.
Removing Samesite from cookies makes it work. Not sure what is correct from security standpoint.
Not sure what I'm missing but can't seem to disable console printing. E.g. entering (println 123)
always prints in the browser console. I setting *print-fn*
to nil
and also tried using (set-print-fn!)
but they don't seem to have any effect. Any ideas guys?
Print the value of *print-fn*
at some point in your program where js/console.log
still works.
Or alternatively, call set-print-fn!
with something and immediately call js/console.log
.
Also, try doing (do (set-print-fn! (fn [] (js/console.log 123))) (println "A"))
- what do you see then?
@U05224H0W you're right! Found this option: https://figwheel.org/config-options#client-print-to