Fork me on GitHub
Georgiy Grigoryan14:03:14

Hello, Figwheel-main relies on ring-defaults middleware. When you create your own server, it is suggested to wrap your handler via (ring.middleware.defaults/wrap-defaults your-app-handler ring.middleware.defaults/site-defaults) Is it specified anywhere which specific parts of ring-defaults figwheel depends on? I would like to supply only those parts a la carte. I’ve already had to remove something from my server: (wrap-defaults (assoc-in site-defaults [:security :anti-forgery] false)) And anticipate removing more stuff or possibly not using ring-defaults at all. Thanks.