Skip to content

Commit

Permalink
Merge pull request #111 from miyamoen/add-healthcheck-api
Browse files Browse the repository at this point in the history
Add healthcheck api.
  • Loading branch information
223kazuki authored Apr 27, 2017
2 parents 2cdf76a + b95dfcc commit 2636038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/clj/job_streamer/console/endpoint/console.clj
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@
(GET "/css/job-streamer.css" [] (-> {:body (style/build)}
(content-type "text/css")))
(GET "/version" [] (-> {:body (clojure.string/replace (str "\"" (slurp "VERSION") "\"") "\n" "")}
(content-type "text/plain")))))
(content-type "text/plain")))
(GET "/healthcheck" [] (do {:status 200}))))

0 comments on commit 2636038

Please sign in to comment.