From f34a97c6809380ade5fd53c7e8d5a499ccc30ce1 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Mon, 8 Mar 2021 12:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/game-server/app.ts b/game-server/app.ts index b0f85f608..47ca14431 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -54,6 +54,7 @@ app.set('name', 'chatofpomelo-websocket'); app.configure(function() { app.loadConfig('database', app.getBase() + '/config/database'); console.log('env:', app.get('env')); + console.log('db:', app.get('database')); mongoose.connect(app.get('database').mongo, { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false }, (err) => { if (err) {