forked from IDeletedSystem64/iptables-deploy
changing url to srcurl because yes
This commit is contained in:
parent
5da1959b94
commit
279a7be3e7
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"chkinterval": "",
|
"chkinterval": "",
|
||||||
"filepath": "",
|
"filepath": "",
|
||||||
|
"srcurl": "",
|
||||||
"server": "",
|
"server": "",
|
||||||
"port": "",
|
"port": "",
|
||||||
"ssh-user": "",
|
"ssh-user": "",
|
||||||
|
@ -25,7 +25,7 @@ def healthcheck():
|
|||||||
healthstatus = "ok"
|
healthstatus = "ok"
|
||||||
|
|
||||||
def downloadLatestCommands():
|
def downloadLatestCommands():
|
||||||
r = requests.get(f'{url}')
|
r = requests.get(cfg['srcurl'])
|
||||||
open(cfg["filepath"], 'wb').write(r.content)
|
open(cfg["filepath"], 'wb').write(r.content)
|
||||||
|
|
||||||
def commandList():
|
def commandList():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user