config.ru in boned-0.2.3 vs config.ru in boned-0.2.4
- old
+ new
@@ -12,20 +12,20 @@
disable :run # disable sinatra's auto-application starting
configure :production do
Boned.debug = false
- map("/#{Boned::APIVERSION}/") { run Boned::API::Service }
+ map("/bone/#{Boned::APIVERSION}/") { run Boned::API::Service }
end
configure :development do
use Rack::ShowExceptions
require 'boned/api/debug'
require 'boned/api/redis'
- map("/#{Boned::APIVERSION}/") { run Boned::API::Service }
+ map("/bone/#{Boned::APIVERSION}/") { run Boned::API::Service }
map("/debug") { run Boned::API::Debug }
map("/redis") { run Boned::API::RedisViewer }
end