guillotine strips query params by default. turn that feature off.

This commit is contained in:
Kunal Dabir 2015-02-13 07:49:31 +05:30
parent b316fde795
commit 45616090c8
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ class Shorty < Guillotine::App
Guillotine::MemoryAdapter.new
end
set :service => Guillotine::Service.new(adapter, ENV['DOMAIN_RESTRICTION'])
set :service => Guillotine::Service.new(adapter, :strip_query => false,
:required_host => ENV['DOMAIN_RESTRICTION'])
end
map '/check' do