Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f3565e3570
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.409 kb
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
if ENV['BIGTUNA_HTTP_AUTH_USERNAME'] && ENV['BIGTUNA_HTTP_AUTH_PASSWORD']
use Rack::Auth::Basic, "Restricted Area" do |username, password|
[username, password] == [ENV['BIGTUNA_HTTP_AUTH_USERNAME'], ENV['BIGTUNA_HTTP_AUTH_PASSWORD']]
end
end
run BigTuna::Application
Jump to Line
Something went wrong with that request. Please try again.