Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 357 Bytes
$:.unshift(File.dirname(__FILE__))
require 'config/environment'
require 'api/v1'
require 'config/logging'
require 'rack/contrib'
ENV['RACK_ENV'] ||= 'development'
set :environment, ENV['RACK_ENV'].to_sym
use Rack::CommonLogger
map "/api/kudu/v1" do
use Rack::PostBodyContentTypeParser
use Rack::MethodOverride
use Pebbles::Cors
run KuduV1
end
Something went wrong with that request. Please try again.