Skip to content

Commit

Permalink
Restored original / route, created new dashboard route
Browse files Browse the repository at this point in the history
To fit in with the existing tests, for now have restored the result of the /
route and move the monitor-dashboard handler to the /dashboard route.
  • Loading branch information
practicalli-johnny committed Sep 22, 2018
1 parent aa99e22 commit 33e641f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/status_monitor/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
;; Application routing

(defroutes app-routes
(GET "/" [] monitor-dashboard)
(GET "/" [] "Hello World")
(GET "/dashboard" [] monitor-dashboard)
(route/not-found "Not Found"))


Expand Down

0 comments on commit 33e641f

Please sign in to comment.