instiki/vendor/plugins/rack/example/protectedlobster.ru

9 lines
160 B
Text
Raw Normal View History

require 'rack/lobster'
use Rack::ShowExceptions
use Rack::Auth::Basic, "Lobster 2.0" do |username, password|
'secret' == password
end
run Rack::Lobster.new