Skip to content

Commit

Permalink
简单修改
Browse files Browse the repository at this point in the history
  • Loading branch information
maweiyi committed Apr 28, 2016
1 parent afc80f0 commit 0413512
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var bookModels = require('./models/book');
var mongoose = require('mongoose');

//连接数据库
var dbUrl = 'mongodb://MWY:AX183737@localhost/itbooks';
var dbUrl = 'mongodb://user:password@localhost/itbooks';
var db = mongoose.connect(dbUrl, {safe: true}, function (err, db) {
if (err) {
console.log(err);
Expand Down

0 comments on commit 0413512

Please sign in to comment.