@validide/u-front-ends
    Preparing search index...

    Function getUrlOrigin

    • Return the origin of an url

      Parameters

      • document: Document

        The reference to the document object

      • url: string

        The ´url´ for which to get the 'origin'

      Returns string

      A string representing the url origin