import { environment } from '../environments/environment' ; export function getHost ( ) { if ( ( environment . hasOwnProperty ( 'host' ) && environment . host ?. length ) ) { return environment . host ; } return '' ; }