mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-14 14:48:53 +09:00
parent
67dacb7725
commit
912ee60781
@ -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' && process.env.NODE_ENV != 'test') {
|
if (!['production', 'test'].includes(process.env.NODE_ENV)) {
|
||||||
// Logger
|
// Logger
|
||||||
app.use(logger());
|
app.use(logger());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user