I am calling getServerSideProps and passing in the req and res parameters like this:
export async function getServerSideProps({ req, res }) {}
I need to get the current browser url path and I can't find it in the request object. Is there a way to get the current url inside getServerSideProps?
question from:https://stackoverflow.com/questions/65617150/getserversideprops-access-current-browser-url