Fix base url for custom domain