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 2, 2012
1 parent ebaf6f0 commit 987da6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/database/domain.js
Expand Up @@ -204,12 +204,12 @@ Domain.prototype = {

getDocumentsEndpoint: function(hostname) {
if (hostname.charAt(0) != '.')
hostname = '.' + hostaname;
hostname = '.' + hostname;
return 'doc-' + this.name + '-' + this.id + hostname;
},
getSearchEndpoint: function(hostname) {
if (hostname.charAt(0) != '.')
hostname = '.' + hostaname;
hostname = '.' + hostname;
return 'search-' + this.name + '-' + this.id + hostname;
},

Expand Down

0 comments on commit 987da6d

Please sign in to comment.