Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
d-t-w committed Jan 15, 2025
1 parent fb10b5a commit 2260b6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions slipway-jetty12/src/slipway/request.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
(defn get-headers
[^Request request]
(reduce
(fn [ret ^HttpField field]
(assoc ret (.getLowerCaseName field) (.getValue field)))
{}
(.getHeaders request)))
(fn [ret ^HttpField field]
(assoc ret (.getLowerCaseName field) (.getValue field)))
{}
(.getHeaders request)))

(defn character-encoding
"See: org.eclipse.jetty.server.Request/getCharacterEncoding"
Expand Down
8 changes: 4 additions & 4 deletions slipway-jetty12/test/slipway/example/app.clj
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
"http://localhost:3443"}}
session-config {:store (ring.session.memory/memory-store)}]
(-> (reitit/ring-handler
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(wrap-errors)
(ring.forgery/wrap-anti-forgery)
(ring.session/wrap-session session-config)
Expand Down

0 comments on commit 2260b6e

Please sign in to comment.