Loading functions.tf +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ locals { "gitlab", "imap", "kodi", "library", "mta_sts", "myip", "nextcloud", Loading src/library.py 0 → 100644 +14 −0 Original line number Diff line number Diff line """Check the Transmission web service.""" from utils import website_handler URLS = [ {"url": "http://library.shore.co.il/", "codes": [301]}, {"url": "https://library.shore.co.il/", "codes": [401]}, ] handler = website_handler(URLS) if __name__ == "__main__": handler("event", "context") Loading
functions.tf +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ locals { "gitlab", "imap", "kodi", "library", "mta_sts", "myip", "nextcloud", Loading
src/library.py 0 → 100644 +14 −0 Original line number Diff line number Diff line """Check the Transmission web service.""" from utils import website_handler URLS = [ {"url": "http://library.shore.co.il/", "codes": [301]}, {"url": "https://library.shore.co.il/", "codes": [401]}, ] handler = website_handler(URLS) if __name__ == "__main__": handler("event", "context")