diff --git a/src/index.ts b/src/index.ts index 4f6547b..83817ce 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,9 @@ app.use(function (err, req, res, next) { }); const port = - process.env.NODE_ENV === 'dev' ? process.env.DEV_PORT : process.env.PORT; + process.env.NODE_ENV === 'development' + ? process.env.DEV_PORT + : process.env.PORT; app .listen(port, () => {