Browse Source

Merge branch '727'

James Yen 11 years ago
parent
commit
9a49cbc1ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hapi/app.js

+ 1 - 1
hapi/app.js

@@ -9,7 +9,7 @@ var cluster = require('cluster'),
 	mongoose = require('mongoose'),
 	async = require('async'),
 	conn = mongoose.connect('mongodb://localhost/hello_world'),
-	connMap = { user: 'benchmarkdbuser', password: 'benchmarkdbpass', database: 'hello_world', host: 'localhost' };
+	connMap = { user: 'benchmarkdbuser', password: 'benchmarkdbpass', database: 'hello_world', host: 'localhost', charset: 'utf8' };
 
 var WorldSchema = new mongoose.Schema({
 		id          : Number,