lib/zold/node/front.rb in zold-0.13.32 vs lib/zold/node/front.rb in zold-0.13.33
- old
+ new
@@ -54,10 +54,11 @@
set :home, nil? # to be injected at node.rb
set :logging, true # to be injected at node.rb
set :log, nil? # to be injected at node.rb
set :address, nil? # to be injected at node.rb
set :farm, nil? # to be injected at node.rb
+ set :metronome, nil? # to be injected at node.rb
set :entrance, nil? # to be injected at node.rb
set :wallets, nil? # to be injected at node.rb
set :remotes, nil? # to be injected at node.rb
set :copies, nil? # to be injected at node.rb
end
@@ -197,9 +198,14 @@
end
get '/farm' do
content_type 'text/plain'
settings.farm.to_text
+ end
+
+ get '/metronome' do
+ content_type 'text/plain'
+ settings.metronome.to_text
end
not_found do
status 404
content_type 'text/plain'