Home

Issue: 1909

Express req.query dont' work with ServerMiddleware

[issue link]

Hi all,

thanks for this awesome project.

I choosed example-auth as basic template for my project. But, when I add another get route into ~/api/index.js, req.query is always undefined

the step to reproduce this issue is very easy, just to add into ~/api/index.js something like this after post routes:
router.get('/test', (req, res) => { console.log(req.query); res.json({}) })

Any help would be appreciated,
cheers

This question is available on Nuxt.js community (#c1708)