From 279a7be3e7fd0a1739a140c38bfc8117eaaa4c6a Mon Sep 17 00:00:00 2001 From: iRaven4522 Date: Wed, 21 Feb 2024 01:53:55 -0600 Subject: [PATCH] changing url to srcurl because yes --- conf-template.json | 1 + deploy.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf-template.json b/conf-template.json index 27c1f89..669be27 100644 --- a/conf-template.json +++ b/conf-template.json @@ -1,6 +1,7 @@ { "chkinterval": "", "filepath": "", + "srcurl": "", "server": "", "port": "", "ssh-user": "", diff --git a/deploy.py b/deploy.py index 3db6e0c..97d14c3 100644 --- a/deploy.py +++ b/deploy.py @@ -25,7 +25,7 @@ def healthcheck(): healthstatus = "ok" def downloadLatestCommands(): - r = requests.get(f'{url}') + r = requests.get(cfg['srcurl']) open(cfg["filepath"], 'wb').write(r.content) def commandList():