routes api fix
This commit is contained in:
parent
135338041a
commit
d7a5d35f54
@ -17,8 +17,8 @@ $router->any('/ajax', 'Ajax');
|
|||||||
$router->post('/api/login', 'AuthApi@login');
|
$router->post('/api/login', 'AuthApi@login');
|
||||||
$router->post('/api/logout', 'AuthApi@logout');
|
$router->post('/api/logout', 'AuthApi@logout');
|
||||||
|
|
||||||
$router->post('/api/devices', 'DevicesApi@default');
|
$router->get('/api/devices', 'DevicesApi@default');
|
||||||
$router->post('/api/rooms', 'RoomsApi@default');
|
$router->get('/api/rooms', 'RoomsApi@default');
|
||||||
|
|
||||||
$router->get('/api/HA/auth', 'GoogleHomeApi@autorize');
|
$router->get('/api/HA/auth', 'GoogleHomeApi@autorize');
|
||||||
$router->any('/api/HA', 'GoogleHomeApi@response');
|
$router->any('/api/HA', 'GoogleHomeApi@response');
|
||||||
|
Loading…
Reference in New Issue
Block a user