async function remove_allow()

in webui/js/blocky4.js [77:91]


async function remove_allow(_entry) {
    if (confirm(`This will remove ${_entry.ip} from the allow list. Continue?`)) {
        result = await DELETE('allow', {
            ip: _entry.ip,
            force: true
        })
        if (result.success === true) {
            alert("IP Removed from allow-list.");
            location.reload();
        } else {
            alert(result.message);
        }
    }
    return false;
}