Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 222 Bytes
require './graphiti'
auth = YAML.load_file(File.join('config', 'auth.yml'))
use Rack::Auth::Basic, "Protected Area" do |username, password|
username == auth['username'] && password == auth['password']
end
run Graphiti
Jump to Line
Something went wrong with that request. Please try again.