MP
Size: a a a
MP
AC
AC
MP
MP
AC
MP
MP
MP
MP
GM
RN
RN
RN
A
RN
RN
ИФ
(defmethod handler ::static [{:keys [uri] :as req}]
(let [relative-uri (s/replace uri #"^/" "")
resource (io/as-file (io/resource relative-uri))
mime-type (uri->mime-type uri)]
{:status 200
:headers {"content-type" mime-type}
:body resource}))
ИФ