mirror of https://github.com/kdabir/has.git
guillotine strips query params by default. turn that feature off.
This commit is contained in:
parent
b316fde795
commit
45616090c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue