Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/Clojure/kit/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

;; HTML templating
selmer/selmer {:mvn/version "1.12.62"}
org.clojars.jj/majavat {:mvn/version "1.13.0"}
org.clojars.jj/majavat {:mvn/version "1.13.2"}
hiccup/hiccup {:mvn/version "2.0.0"}

;; Database
Expand Down
4 changes: 2 additions & 2 deletions frameworks/Clojure/ring-http-exchange/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

:dependencies [[org.clojure/clojure "1.12.3"]
[org.clojure/tools.logging "1.3.0"]
[org.clojars.jj/ring-http-exchange "1.2.9"]
[org.clojars.jj/ring-http-exchange "1.2.12"]
[seancorfield/next.jdbc "1.2.659"]
[org.clojars.jj/majavat "1.13.0"]
[org.clojars.jj/majavat "1.13.2"]
[hikari-cp "3.3.0"]
[org.clojars.jj/boa-sql "1.0.0"]
[org.postgresql/postgresql "42.7.8"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@
(case (req :uri)
"/plaintext" (Response. hello-world 200 plain-text-headers)
"/json" (Response. (json/write-value-as-string {:message hello-world}) 200 json-headers)
"/fortunes" (let [body (get-body datasource)] (Response. body 200 fortune-headers))
"/fortunes" (Response. (get-body datasource) 200 fortune-headers)
(Response. hello-world 200 {"Server" "ring-http-exchange"
"Content-Type" "text/plain"})))
{:port 8080
:host "0.0.0.0"
:record-support? true
:executor (Executors/newVirtualThreadPerTaskExecutor)})))
{:port 8080
:host "0.0.0.0"
:executor (Executors/newVirtualThreadPerTaskExecutor)})))
Loading