Skip to content

Commit de8c92b

Browse files
committed
fix: import morgan
1 parent 4993786 commit de8c92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import express, { Request, Response, NextFunction } from 'express'
44
import path from 'path'
55
import cors from 'cors'
66
import helmet from 'helmet'
7+
import logger from 'morgan'
78
import bodyParser from 'body-parser'
89
import cookieParser from 'cookie-parser'
910
import indexRouter from 'routes'
@@ -13,7 +14,6 @@ import ExpressErrorResponse from 'middlewares/ExpressErrorResponse'
1314
import ExpressErrorSequelize from 'middlewares/ExpressErrorSequelize'
1415

1516
const GenerateDoc = require('utils/GenerateDocs')
16-
const logger = require('morgan')
1717

1818
const app = express()
1919

0 commit comments

Comments
 (0)