mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 18:53:08 +02:00
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
4ec64b4c57
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