1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 14:58:24 +09:00

Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2019-01-23 19:25:52 +09:00
commit 4ec64b4c57
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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());