Skip to content

Commit

Permalink
new alpha like version :)
Browse files Browse the repository at this point in the history
  • Loading branch information
semu committed Sep 26, 2011
1 parent 186d300 commit 7f9e4c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -3,5 +3,5 @@ var mongoclikker = require('./mongoclikker.js');
mongoclikker/*.setHost('localhost')
.andPort(27017)
.forDatabase('mongoclikker') */
.protectWith('mongo', 'clikker') /* Set password for HTTP Access Authorization! Not MongoDB password! */
.protectWith('mongo', '') /* Set password for HTTP Access Authorization! Not MongoDB password! */
.andListenOn(2002);
4 changes: 2 additions & 2 deletions mongoclikker.js
Expand Up @@ -334,7 +334,7 @@ var funcStartMongoclikker = function() {
path += req.params.curDocument + '/';
for (var n in results[0]) {
/**
* Display simple document property
* Display document properties
* */
var curValue = results[0][n];
var curType = typeOf(curValue);
Expand Down Expand Up @@ -363,7 +363,7 @@ var funcStartMongoclikker = function() {
}
});
app.listen(mongoclikkerConnection.web);
console.log('Listening on http://localhost:' + mongoclikkerConnection.web + ':' + viewURL);
console.log('Listening on port ' + mongoclikkerConnection.web);
};

exports.setHost = funcSetHost;
Expand Down

0 comments on commit 7f9e4c0

Please sign in to comment.