silverwolf-x's picture
download
raw
346 Bytes
import React from 'react'
import App from 'next/app'
export default class MyApp extends App {
// find this
static async getInitialProps({ ctx }) {
const { query, pathname, asPath } = ctx
return { url: { query, pathname, asPath } }
}
render() {
const { Component, url } = this.props
return <Component url={url} />
}
}

Xet Storage Details

Size:
346 Bytes
·
Xet hash:
818310684cb15a9fe5b5096355f0b9bfc76761323b15ccc24f1a91533db0557e

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