silverwolf-x's picture
download
raw
338 Bytes
import type { NextPageContext } from 'next'
Error.getInitialProps = (ctx: NextPageContext) => {
return {
reqUrl: ctx.req?.url,
asPath: ctx.asPath,
}
}
export default function Error({
reqUrl,
asPath,
}: {
reqUrl?: string
asPath?: string
}) {
return (
<p>
reqUrl: {reqUrl}, asPath: {asPath}
</p>
)
}

Xet Storage Details

Size:
338 Bytes
·
Xet hash:
aa5fb388c78d4d1b869919bb0687bc8c17ae841feefddc9ae104601750987cdd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.