mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
DevicesApi
This commit is contained in:
1 parent
b4cfffc432
commit
5519d46ca2
3 files changed
+21
-2
No files matched your search
@@ -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'] : ''));
|
||||
Reference in new issue
Block a user