~pepe/pan.earth

03f71a7b6c34b83055f30371e5a414f15cd6b80f — Josef Pospíšil 2 years ago a362162
Move to chidi html-success mw
1 files changed, 0 insertions(+), 4 deletions(-)

M panearth/app.janet
M panearth/app.janet => panearth/app.janet +0 -4
@@ 26,10 26,6 @@
              (setdyn :conn connection)
              (handling connection)) :tp) nil chan)))))

(defn- html-success [next-middleware]
  (fn [req]
    (success (next-middleware req) (content-type ".html"))))

(defn layout [args]
  (page app args))