def uuid_to_url(baseurl, uuid):
    """
    Return an url constructed from the MISP baseurl and the uuid of the event, to go to this event on this MISP
    :param baseurl: the baseurl of the MISP instnce e.g. http://localhost:8080 or http://localhost:8080/
    :param uuid: the uuid of the event that we want to have a link to
    :return: the complete URL to go to this event on this MISP instance
    """
    if baseurl[len(baseurl) - 1] != '/':
        baseurl += '/'
    return f'{baseurl}events/view/{uuid}'
