Skip to content

Commit

Permalink
update healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk committed May 10, 2024
1 parent 2313fb6 commit 4597bfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.3
v0.1.4
5 changes: 4 additions & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class Application < Sinatra::Base
end

get '/healthz' do
{ status: 'ok' }.to_json
{
status: 'ok',
version: File.read('VERSION')
}.to_json
end
end

0 comments on commit 4597bfd

Please sign in to comment.