mirror of
https://gitlab.sectorq.eu/jaydee/api_server.git
synced 2026-09-17 02:12:55 +02:00
build
This commit is contained in:
@@ -78,7 +78,7 @@ def ban_ip(args):
|
||||
else:
|
||||
ips_to_add = re.split(r'[, :]+', args.ips)
|
||||
ips = list(dict.fromkeys(ips + ips_to_add))
|
||||
|
||||
ips = [x for x in ips if x]
|
||||
update_url = f"https://unifi.sectorq.eu/proxy/network/api/s/default/rest/firewallgroup/6782dbc2ffa79454f61fac43"
|
||||
payload_update = {
|
||||
"name": "file2ban",
|
||||
|
||||
Reference in New Issue
Block a user