This commit is contained in:
joewaa 2017-06-10 22:38:46 +08:00 committed by GitHub
parent afde58912e
commit 04fc4065c8

View file

@ -84,7 +84,7 @@ app.get('/pagecount', function (req, res) {
}
if (db) {
db.collection('counts').count(function(err, count ){
res.send('{ pageCount: ' + count + '}');
res.send('{ pageCount: == ' + count + '}');
});
} else {
res.send('{ pageCount: -1 }');