import { Context } from '../../Context' ; import { Url } from 'licia' ; export const generateHostIndex = ( context , text ) => { try { return [ Url . parse ( text ) . hostname ] ; } catch ( e ) { return [ ] ; } } ;