Skip to content

Commit

Permalink
fixup! [mod] [taoensso#424] reintroduce fixed jetty9-ring-adapter s…
Browse files Browse the repository at this point in the history
…upport
  • Loading branch information
TimoKramer committed Mar 21, 2023
1 parent 0317450 commit fef4bc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example-project/src/example/server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@
You're also STRONGLY recommended to use `ring.middleware.anti-forgery`
or something similar."
(ring.middleware.defaults/wrap-defaults
ring-routes ring.middleware.defaults/site-defaults))
ring-routes (-> ring.middleware.defaults/site-defaults
(assoc-in [:params :multipart] false)
(dissoc :security))))

;;;; Some server>user async push examples

Expand Down

0 comments on commit fef4bc0

Please sign in to comment.