mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-29 00:51:30 +08:00
renamed db.connect to db.create
This commit is contained in:
@@ -64,7 +64,7 @@ function Server(options) {
|
||||
this.stores = {};
|
||||
|
||||
// back all memory stores with a db
|
||||
this.db = db.connect(options.db);
|
||||
this.db = db.create(options.db);
|
||||
|
||||
// use socket io for a session based realtime channel
|
||||
this.sockets = io.listen(this, {
|
||||
|
||||
Reference in New Issue
Block a user