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.
19 lines
374 B
19 lines
374 B
6 years ago
|
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
|