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
georgechou -
Sebastián Aliaga -
Nick Langat -
Radu Brehar👨💻 -
Top comments (0)