This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-10
Channels
- # announcements (9)
- # babashka (19)
- # beginners (39)
- # calva (7)
- # cherry (1)
- # cider (2)
- # clojure (31)
- # clojure-europe (8)
- # clojure-norway (9)
- # datalevin (10)
- # events (2)
- # fulcro (10)
- # hyperfiddle (9)
- # joker (1)
- # lsp (50)
- # membrane (34)
- # minecraft (2)
- # missionary (21)
- # off-topic (17)
- # pedestal (1)
- # polylith (8)
- # reitit (3)
- # sql (4)
- # squint (16)
- # xtdb (14)
hi all, not sure if this is the right channel to go through, but I'm having some trouble setting up pedestal+integrant.repl. For some context, I'll attach a snippet:
(-> {::http/routes routes
::http/host host
::http/port port
::http/type :jetty
::http/resource-path "book/public"
::http/join? false
::http/secure-headers {:content-security-policy-settings {:object-src "none"}}
::http/allowed-origins {:creds true :allowed-origins (constantly true)}}
(http/create-server)
(http/start))
This form is within an integrant init-key
defmethod. The problem that I'm facing is that the server works when starting via cli -M -m [...]
, but not when inside a REPL session using integrant.repl/reset
and integrant.repl/go
.
The error I'm receiving while in the repl session is an HTTP ERROR 500
and the only header attached the response is Connection: close
Honestly not sure how to proceed. Has anyone ran into this type of issue before?