Navigation Menu

Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 22, 2012
1 parent bc14bd2 commit 245c445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/database/domain.js
Expand Up @@ -260,12 +260,12 @@ Domain.prototype = {
},

getDocumentsEndpoint: function(hostname) {
hostanme = hostname.replace(/^\./, '');
hostname = hostname.replace(/^\./, '');
hostname = toValidHostAndPort(hostname);
return 'doc-' + this.name + '-' + this.id + '.' + hostname;
},
getSearchEndpoint: function(hostname) {
hostanme = hostname.replace(/^\./, '');
hostname = hostname.replace(/^\./, '');
hostname = toValidHostAndPort(hostname);
return 'search-' + this.name + '-' + this.id + '.' + hostname;
},
Expand Down

0 comments on commit 245c445

Please sign in to comment.