I can get the relative pathname using useRouter().asPath which gives something like /my-awesome-post but how to get the origin? Similar to what
useRouter().asPath
/my-awesome-post