mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -07:00
Update index.ts
refs: 67dacb77257295ad78a0bf82ffb9b7fa7e616e89
This commit is contained in:
parent
f8f1bd7b57
commit
9054e6b4a2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue