_document getInitialProps req не определен

Accessing getInitialProps req & res in next js custom _document:

	Add this to index.js :
    	export async function getServerSideProps() {
          const data = "myData";
          return { props: { data } };
        }
    Then It's gonna working...
Have Fun ;)
s1rbl4ck