export function getAppUrl() {
    const {host, protocol} = location //AppConfig.SITE_URL
    const rootUrl = (typeof (APP_SITE_URL) == "string" ? APP_SITE_URL : undefined) || `${protocol}//${host}`
    return rootUrl;
}