-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
I must be insane, because I see example after example online of this being done, yet it doesn't work on my system.
I have this:
(component/system-map
:site-middleware (new-middleware {:middleware site-middleware-config})
:site-endpoint (-> (new-endpoint site-routes)
(component/using [:site-middleware]))
:handler (-> (new-handler :router :bidi)
(component/using [:site-endpoint]))
:http (-> (new-web-server (:http-port config))
(component/using [:handler])))
The middleware isn't mounting. I can't figure out from the code how Handler does its magic, but example after example shows that this is how to do it.
What am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels