Add "ping" API command

master
Skylar Ittner 6 years ago
parent 6782d518eb
commit 54790880aa

@ -146,6 +146,10 @@ switch ($VARS['action']) {
} }
break; break;
case "ping":
exit(json_encode(['status' => 'OK']));
default: default:
sendError("", "Invalid action or no action sent."); sendError("", "Invalid action or no action sent.");
} }
Loading…
Cancel
Save