I have exported a NextJs app. When I export it to the static app the URL parameters are not working on the server. (Exported to static HTML app)
Eg url: http://app.domain.com/?p=demo&u=udemo
export default ({ url: { query: { p ,u } } }) => (
  <div>
    <Ads pub={p} user={u} />
   </div>
)
The p and u values are not passed to the component the default ones are used. Any way to pass query parameters to the component without using node js?
