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 Apr 11, 2023
1 parent a611614 commit 4bbfaac
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 @@ -146,7 +146,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 4bbfaac

Please sign in to comment.