rahulramesha / http2-express-bridge

wrapper for express app to work with http2 protocol
MIT License
31 stars 6 forks source link

Cannot read properties of undefined (reading 'substr') #10

Open girishghoda opened 10 months ago

girishghoda commented 10 months ago

Description

I am trying HTTP2 with erxpress then I have used this library. In some of the APIs I am getting this error. (Calling API from browser, Postman working fine).

This error throws req.url method

TypeError: Cannot read properties of undefined (reading 'substr') at next (/interplay_v2/node_modules/express/lib/router/index.js:190:47) at /interplay_v2/node_modules/express/lib/application.js:233:9 at /interplay_v2/node_modules/express/lib/router/index.js:635:15 at next (/interplay_v2/node_modules/express/lib/router/index.js:210:14) at Immediate. (/interplay_v2/node_modules/express/lib/application.js:233:9) at Immediate. (/interplay_v2/node_modules/express/lib/router/index.js:635:15) at processImmediate (node:internal/timers:468:21)

@rahulramesha