mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
Supress log when test
This commit is contained in:
parent
05435feee5
commit
f8f1bd7b57
@ -26,7 +26,7 @@ import User from '../models/user';
|
||||
const app = new Koa();
|
||||
app.proxy = true;
|
||||
|
||||
if (process.env.NODE_ENV != 'production') {
|
||||
if (process.env.NODE_ENV != 'production' && process.env.NODE_ENV != 'test') {
|
||||
// Logger
|
||||
app.use(logger());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user