Skip to content
This repository
Browse code

Git URL Finishes with .git

  • Loading branch information...
commit 91fc44c15ca672db7dac63520b14322da5f7e516 1 parent 1907a4a
Ben Evans authored October 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app.js
2  app.js
@@ -52,7 +52,7 @@ var server = http.createServer(function (req, res) {
52 52
     // Create(d) Repo Container Page
53 53
     tmp.dir({template: config.repoPath + '/XXXXXX'}, function (err, path) {
54 54
       if (err) throw err;
55  
-      locals.gitURL = 'http://' + config.externalHost + ':' + config.externalPort + path.replace(config.repoPath, '');
  55
+      locals.gitURL = 'http://' + config.externalHost + ':' + config.externalPort + path.replace(config.repoPath, '') + '.git';
56 56
       res.statusCode = 200;
57 57
       var source = fs.readFileSync(__dirname + '/index.html').toString();
58 58
       var template = Handlebars.compile(source);

0 notes on commit 91fc44c

Please sign in to comment.
Something went wrong with that request. Please try again.