Router fix

This commit is contained in:
JonatanRek 2020-07-27 20:00:41 +02:00
parent 49d24f8e0e
commit 6d44750804

View File

@ -24,6 +24,7 @@ $router->get('/api/rooms', 'RoomsApi@default');
$router->get('/api/rooms/{roomId}/update', 'RoomsApi@update'); $router->get('/api/rooms/{roomId}/update', 'RoomsApi@update');
$router->get('/api/devices', 'DevicesApi@default'); $router->get('/api/devices', 'DevicesApi@default');
$router->get('/api/users', 'UsersApi@default'); $router->get('/api/users', 'UsersApi@default');
$router->get('/api/server', 'ServerApi@default');
$router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run'); $router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run');
$router->post('/api/widgets/{widgetId}/detail', 'WidgetApi@detail'); $router->post('/api/widgets/{widgetId}/detail', 'WidgetApi@detail');