From 4bbfaac08e44142fdcaaa0d12c0c0c310f5cfb0a Mon Sep 17 00:00:00 2001 From: Timo Kramer Date: Tue, 21 Mar 2023 15:18:25 +0100 Subject: [PATCH] fixup! [mod] [#424] reintroduce fixed `jetty9-ring-adapter` support --- example-project/src/example/server.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example-project/src/example/server.clj b/example-project/src/example/server.clj index 574c154..e00d615 100644 --- a/example-project/src/example/server.clj +++ b/example-project/src/example/server.clj @@ -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