add express.json cus forgot :/

master
Ayush Mukherjee 4 years ago
parent 1a47edd0dc
commit ee5c0f9c2d

@ -12,6 +12,7 @@ const app = express()
app.use(morgan('dev')) app.use(morgan('dev'))
app.use(helmet()) app.use(helmet())
app.use(express.json())
app.use(cors()) app.use(cors())
app.get('/', (req, res) => { app.get('/', (req, res) => {