Skip to content

Commit cdbc4e5

Browse files
committed
Added version.json
1 parent 89044e8 commit cdbc4e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

hackety.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,8 @@
219219
haml :tos
220220
end
221221

222+
# This is used by the desktop app to see if we should upgrade or not.
223+
get "/version.json" do
224+
content_type :json
225+
{:current_version => 1.0}.to_json
226+
end

0 commit comments

Comments
 (0)