DevicesApi

This commit is contained in:
xinatorus
2020-04-24 21:54:25 +02:00
parent b4cfffc432
commit 5519d46ca2
3 changed files with 21 additions and 2 deletions

View File

@@ -18,4 +18,6 @@ $router->any('/ajax', 'Ajax');
$router->any('/log', 'Log');
$router->any('/rooms', 'Rooms');
$router->get('/api/devices', 'DevicesApi@getAllDevices');
$router->run($_SERVER['REQUEST_METHOD'], '/'.(isset($_GET['url']) ? $_GET['url'] : ''));