title: How to fix the NextJs Query parameter that is not working on the static export?
body: <p>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)</p>
  
  <p>Eg url: <a href="http://app.domain.com/?p=demo&amp;u=udemo" rel="nofollow noreferrer">http://app.domain.com/?p=demo&amp;u=udemo</a> </p>
  
  <pre><code>export default ({ url: { query: { p ,u } } }) =&gt; (
    &lt;div&gt;
      &lt;Ads pub={p} user={u} /&gt;
     &lt;/div&gt;
  )
  </code></pre>
  
  <p>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? </p>