Returns the full URL of the router request.
Premium sites:
Free sites:
Note: The above URLs are for a published site. When previewing your site, you will receive the Editor URL.
export function myRouter_Router(request) {
let url = request.url;
// Premium site:
// "https://domain.com/elephant?species=african-elephant"
// Free site:
// "https://user.wixsite.com/zoo/elephant?species=african-elephant"
}