From 912ee60781015517466d26f978cf7e34269b043b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Wed, 23 Jan 2019 16:53:07 +0900 Subject: [PATCH] Update index.ts refs: 67dacb77257295ad78a0bf82ffb9b7fa7e616e89 --- src/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.ts b/src/server/index.ts index b328ba74e..676296425 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -26,7 +26,7 @@ import User from '../models/user'; const app = new Koa(); app.proxy = true; -if (process.env.NODE_ENV != 'production' && process.env.NODE_ENV != 'test') { +if (!['production', 'test'].includes(process.env.NODE_ENV)) { // Logger app.use(logger());