From 1ddc8df459cec1a120d5fb097dc3c8a5b55d832c Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Mon, 8 Mar 2021 12:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E6=89=93=E5=8D=B0=E7=8E=AF=E5=A2=83?= 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 05da25337..b0f85f608 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -53,6 +53,7 @@ app.set('name', 'chatofpomelo-websocket'); // 加载数据库和redis app.configure(function() { app.loadConfig('database', app.getBase() + '/config/database'); + console.log('env:', app.get('env')); mongoose.connect(app.get('database').mongo, { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false }, (err) => { if (err) {