frandiox / vitedge

Edge-side rendering and fullstack Vite framework
https://vitedge.js.org
MIT License
729 stars 31 forks source link

Query string parameters not accessible when using Express #58

Closed oluomotoso closed 3 years ago

oluomotoso commented 3 years ago

We are currently using express to deploy our vitedge app. The issue is query string parameters is not accessible via functions props.

To reproduce,

  1. vitedge build
  2. visit url with query string e.g https://vote.watu.global?filter=ongoing
  3. console.log(query
  4. image

the data is not available and this works seamlessly with npm run dev

frandiox commented 3 years ago

@oluomotoso Thanks for reporting. This should be fixed in 0.16.2 🎉