About route

Write an about route and handler that gives you information about the app.

(defn about
  "Information about the website developer"
  {:status 200
   :body "I am an awesome Clojure developer, well getting there..."
   :headers {}})

(defroutes app
  (GET "/" [] welcome)
  (GET "/goodbye" [] goodbye)
  (GET "/about" [] about)
  (not-found "<h1>This is not the page you are looking for</h1> <p>Sorry, the page you requested was not found!</p>"))

results matching ""

    No results matching ""