Heres the code:
export const getInitialProps = ({ req, res, err }) => {
let url = req ? req.headers.host + req.url : null
// https://yourdomain.com/some-page
};
Heres the code:
export const getInitialProps = ({ req, res, err }) => {
let url = req ? req.headers.host + req.url : null
// https://yourdomain.com/some-page
};
For further actions, you may consider blocking this person and/or reporting abuse
mridul037 -
Prince -
Steve Wortham -
Rohit Ghumare -
Top comments (0)