diff options
author | Ben Sima <ben@bsima.me> | 2018-03-17 13:14:53 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-03-17 13:14:53 -0700 |
commit | 66e6b47737a9e6411f430a5cd169315f04dcd078 (patch) | |
tree | 15ebb5ba14f22c52faf487a7a4bdcb7e54cf332e /reify-health/src/reify | |
parent | b48cd6640e4029b91d63c4f6a1843f953d4ff673 (diff) |
Add reify health from yesterday
Diffstat (limited to 'reify-health/src/reify')
-rw-r--r-- | reify-health/src/reify/handler.clj | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/reify-health/src/reify/handler.clj b/reify-health/src/reify/handler.clj new file mode 100644 index 0000000..b6c6683 --- /dev/null +++ b/reify-health/src/reify/handler.clj @@ -0,0 +1,11 @@ +(ns reify.handler + (:require [compojure.core :refer :all] + [compojure.route :as route] + [ring.middleware.defaults :refer [wrap-defaults site-defaults]])) + +(defroutes app-routes + (GET "/" [] "Hello World!!") + (route/not-found "Not Found")) + +(def app + (wrap-defaults app-routes site-defaults)) |