def add_host(data, host):
    """Make the image path absolute for those served by the server."""
    for i in range(len(data)):
        data[i]['image'] = f'http://{host}/{data[i]["image"]}'
    return data