mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-27 01:46:25 -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();
|
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 a new issue