Skip to content

Commit

Permalink
admin
Browse files Browse the repository at this point in the history
  • Loading branch information
linguowei committed Jan 21, 2017
1 parent 256dd79 commit ecc0135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ app.get('*', function(req, res) {
});

app.listen(process.env.PORT || 9001, function() {
console.log("应用实例,访问地址为 localhost:9000")
console.log("应用实例,访问地址为 localhost:9001")
});
2 changes: 1 addition & 1 deletion server/db.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var mongoose = require('mongoose')
mongoose.Promise = require('bluebird')

mongoose.connect('mongodb://weiwei:[email protected]:61018/weiwei')
mongoose.connect('mongodb://112.74.32.77/weiweiblog')

var userSchema = new mongoose.Schema({
name: String,
Expand Down

0 comments on commit ecc0135

Please sign in to comment.