mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
4ec64b4c57
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user