mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-02 08:48:37 +09:00
Supress log when test
This commit is contained in:
parent
82f1fc6cda
commit
67dacb7725
@ -26,7 +26,7 @@ import User from '../models/user';
|
|||||||
const app = new Koa();
|
const app = new Koa();
|
||||||
app.proxy = true;
|
app.proxy = true;
|
||||||
|
|
||||||
if (process.env.NODE_ENV != 'production') {
|
if (process.env.NODE_ENV != 'production' && process.env.NODE_ENV != 'test') {
|
||||||
// Logger
|
// Logger
|
||||||
app.use(logger());
|
app.use(logger());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user