Skip to content

Commit

Permalink
fix cuerdas capital function call
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed May 28, 2023
1 parent 893832b commit 7ffe908
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject macchiato/core "0.2.22"
(defproject macchiato/core "0.2.23"
:description "ClojureScript Ring style HTTP server abstraction for Node.js."
:url "https://github.com/yogthos/macchiato-framework/macchiato-core"
:scm {:name "git"
Expand All @@ -8,7 +8,7 @@
:clojurescript? true
:dependencies [[com.andrewmcveigh/cljs-time "0.5.2"]
[com.cognitect/transit-cljs "0.8.256"]
[funcool/cuerdas "2020.03.26-3"]
[funcool/cuerdas "2022.06.13-401"]
[macchiato/fs "0.2.2"]
[org.clojure/clojure "1.10.1" :scope "provided"]
[org.clojure/clojurescript "1.10.597" :scope "provided"]]
Expand Down
2 changes: 1 addition & 1 deletion src/macchiato/middleware/cors.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
[header]
(if header
(->> (str/split (name header) #"-")
(map str/capitalize)
(map str/capital)
(str/join "-"))))

(defn normalize-headers
Expand Down

0 comments on commit 7ffe908

Please sign in to comment.