practicalli / blog-cryogen

Cryogen powered blog with all the content used to generate the static website.
https://practical.li/blog-cryogen/
3 stars 2 forks source link

Small typo in code block #45

Closed markusstrasser closed 4 years ago

markusstrasser commented 4 years ago

Describe the correction Hey, thanks for putting out all this content so far. I noticed a small typo in a code block of the https://practicalli.github.io/blog/posts/clojure-web-server-cli-tools-deps-edn/ article

(defn handler
  "A function that handles all requests from the server.
  Arguments: `req` is a ring request hash-map
  Return: ring response hash-map including :status :headers and :body"
  [req]
  {:status  200
   :headers {}}
   :body    "Hello Clojure Server world!")

should be

(defn handler
  "A function that handles all requests from the server.
  Arguments: `req` is a ring request hash-map
  Return: ring response hash-map including :status :headers and :body"
  [req]
  {:status  200
   :headers {}
  :body    "Hello Clojure Server world!"
  })

Hope that helps Mention the project maintainers @jr0cket

practicalli-johnny commented 4 years ago

Thank you for letting me know. It seems my GitHub notifications need fixing, or would have seen this sooner. Thanks again.