Returns the base 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 baseUrl = request.baseUrl;
// Premium site: "https://domain.com/"
// Free site: "https://user.wixsite.com/zoo/"
}