Permalink
Browse files

[databases] use the correct port without SSL

  • Loading branch information...
1 parent 5445f42 commit 38771744c91fd819ee20ff54e07e4c94ba48a7ac @cronopio cronopio committed Oct 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jitsu/commands/databases.js
@@ -301,7 +301,7 @@ var printDatabase = function (database) {
case 'couch':
printBase(database);
- var connUrl = 'http://' + database.metadata.host + ':' + database.metadata.port,
+ var connUrl = 'http://' + database.metadata.host + ':5984',
sslConnUrl = 'https://' + database.metadata.host + ':' + database.metadata.port;
jitsu.log.data('Connection url: ' + connUrl.grey);
@@ -334,7 +334,7 @@ var printDatabase = function (database) {
var printDbHelp = function (database) {
switch (database.type) {
case 'couch':
- var connUrl = 'http://' + database.metadata.host + ':' + database.metadata.port,
+ var connUrl = 'http://' + database.metadata.host + ':5984',
sslConnUrl = 'https://' + database.metadata.host + ':' + database.metadata.port;
// TODO: Only write this if in some "verbose" mode.

0 comments on commit 3877174

Please sign in to comment.