title: getStaticProps Next JS Doesn't Work in Production
body: <p>I make getStaticProps in pages, in local it's work but in production doesn't work. my code is below:</p>
  <pre><code>import {GetStaticProps} from 'next';
  export const getStaticProps: GetStaticProps = async () =&gt; {
    const res = await apiAboutV2();
    const data = res ?? {};
  
    return {
      props: {about: _.result(data, 'data', {})},
      revalidate: true,
    };
  };
  
  interface Props {
    about: any;
  }
  
  export default function About({about}: Props) {
    return (
      &lt;div&gt;
  {about?.history}
  &lt;/div&gt;
  )
  }
  
  </code></pre>
  <p>anyone can suggestion for me?</p>
  <p>edit:</p>
  <pre><code>export const apiAboutV2 = async () =&gt; {
    const uri = `${baseUrl}/api/v2/public/about`;
    const res = await axios({
      method: 'GET',
      url: uri,
    })
      .then((res) =&gt; res.data)
      .catch((err) =&gt; err?.response?.data || err);
  
    return res;
  };
  </code></pre>
  <p>code above is apiAboutV2</p>