Skip to content
nextcloud.py 341 B
Newer Older
nimrod's avatar
nimrod committed
"""Check Nextcloud."""

nimrod's avatar
nimrod committed
from utils import website_handler
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
URLS = [
nimrod's avatar
nimrod committed
    {"url": "http://nextcloud.shore.co.il/", "codes": [301]},
    {"url": "https://nextcloud.shore.co.il/", "codes": [302]},
nimrod's avatar
nimrod committed
    {"url": "https://nextcloud.shore.co.il/login"},
]
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
handler = website_handler(URLS)
nimrod's avatar
nimrod committed


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