mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
examples
This commit is contained in:
1 parent
56891bda09
commit
f588a293ed
4 files changed
+51
No files matched your search
@@ -23,5 +23,9 @@ $router->post('/api/login', 'AuthApi@login');
|
||||
|
||||
$router->post('/api/HA', 'GoogleHome@response');
|
||||
|
||||
// examples
|
||||
$router->any('/api/example', 'ExampleApi@example');
|
||||
$router->any('/example', 'ExampleController@index');
|
||||
$router->any('/example/subpage', 'ExampleController@subpage');
|
||||
|
||||
$router->run($_SERVER['REQUEST_METHOD'], '/'.(isset($_GET['url']) ? $_GET['url'] : ''));
|
||||
Reference in new issue
Block a user