title: How to get url in getstaticpath nextjs
body: <p>I have face trubble to get url in getStaticPath</p>
  <pre><code>export const getStaticPaths = async (props) =&gt; {
    if (url === 'blah') {
      return {
        paths: [
          { params: { pid: &quot;create&quot; } },
        ],
        fallback: true,
      };
    }
  </code></pre>