You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/lib/trustie/grack/grack.rb

19 lines
374 B

require_relative 'auth'
module Trustie
module Grack
def self.new
Rack::Builder.new do
use ::Grack::Auth
run ::Grack::Server.new(
project_root: Redmine::Configuration['repository_root_path'] || "/home/pdl/redmine-2.3.2-0/apache2/htdocs",
upload_pack: true,
receive_pack:true
)
end
end
end
end