mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
@@ -15,15 +15,12 @@ if (!isset($api)) {
|
||||
|
||||
switch ($_POST['action']) {
|
||||
case 'get': echo json_encode(echoCustomDNSEntries());
|
||||
|
||||
break;
|
||||
|
||||
case 'add': echo json_encode(addCustomDNSEntry());
|
||||
|
||||
break;
|
||||
|
||||
case 'delete': echo json_encode(deleteCustomDNSEntry());
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user