From 2a299c9201c4cb4b61a27fe595d6cb02afd399be Mon Sep 17 00:00:00 2001 From: Brian Peacock Date: Mon, 12 May 2014 10:43:18 -0500 Subject: [PATCH] Switched some tabs to spaces --- lib/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/index.js b/lib/index.js index 286f4ee27..ed691de27 100644 --- a/lib/index.js +++ b/lib/index.js @@ -116,7 +116,7 @@ module.exports = function(config_hash) { app.param('_rev', match(/^-rev$/)) app.param('org_couchdb_user', match(/^org\.couchdb\.user:/)) -/* app.get('/-/all', function(req, res) { +/* app.get('/-/all', function(req, res) { var https = require('https') var JSONStream = require('JSONStream') var request = require('request')({ @@ -136,9 +136,9 @@ module.exports = function(config_hash) { storage.get_local(function(err, packages) { res.send(template({ - name: config.title || "Sinopia", - packages: packages, - baseUrl: config.root || req.protocol + '://' + req.get('host') + '/' + name: config.title || "Sinopia", + packages: packages, + baseUrl: config.root || req.protocol + '://' + req.get('host') + '/' })); }); }); @@ -188,7 +188,7 @@ module.exports = function(config_hash) { }) //app.get('/*', function(req, res) { - // proxy.request(req, res) + // proxy.request(req, res) //}) // placeholder 'cause npm require to be authenticated to publish