This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-17
Channels
- # beginners (10)
- # boot (9)
- # cider (1)
- # cljs-dev (191)
- # clojure (77)
- # clojure-russia (4)
- # clojure-serbia (10)
- # clojure-spec (19)
- # clojure-uk (4)
- # clojurescript (16)
- # core-async (9)
- # cursive (1)
- # data-science (1)
- # datomic (3)
- # emacs (42)
- # graphql (2)
- # hoplon (38)
- # jobs (1)
- # jobs-discuss (18)
- # luminus (3)
- # lumo (20)
- # off-topic (9)
- # om (51)
- # parinfer (3)
- # pedestal (8)
- # re-frame (4)
- # reagent (7)
- # rum (9)
- # sql (9)
- # untangled (81)
What’s the correct way of dealing with…
Refused to load the script '' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:". 'strict-dynamic' is present, so host-based whitelisting is disabled.
…?
ClojureScript seems to make Chrome go into pouty mode.@henrik check this issue https://github.com/pedestal/pedestal/issues/499
@nxqd cheers, that actually did it! Though turning it off seems like cheating. Either cljs is compiling into insecure js, or there’s something wonky with how Pedestal is serving the file.
cljs compiles insecure js in normal mode, it shouldn't have any problem with advanced compiled. You can do a little research about secure header, the default one is too strict in my opinion.