Skip to content
www.py 469 B
Newer Older
from utils import check_urls


def handler(event, context):  # pylint: disable=unused-argument
    """Lambda event handler."""
    checks = [
        {"url": "http://shore.co.il/", "codes": [301, 302]},
        {"url": "http://www.shore.co.il/", "codes": [301, 302]},
nimrod's avatar
nimrod committed
        {"url": "https://shore.co.il/", "codes": [301, 302]},
        {"url": "https://www.shore.co.il/blog"},
    ]
    check_urls(checks)


if __name__ == "__main__":
    handler("event", "context")