in webui/js/blocky4.js [58:74]
async function unblock_ip(_entry, force = true) {
if (confirm(`This will unblock ${_entry.ip} and add it to the allow-list for 10 minutes. Continue?`)) {
result = await POST('allow', {
ip: _entry.ip,
reason: "Temporarily allow-listed for 10 minutes to unblock IP",
expires: parseInt(new Date().getTime()/1000) + 600,
force: force
})
if (result.success === true) {
alert("IP Unblocked. Please allow for a few moments for it to apply across the servers.");
location.reload();
} else {
alert(result.message);
}
}
return false;
}