diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-12-25 11:25:17 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-12-25 11:25:17 +0300 |
commit | 8212feaa6e05735eb54a681ec8aed55c60bd7b57 (patch) | |
tree | 0bf995045969778bb215c024c9ffd8d1e5ec90cf /localwebsite/htdocs/index.php | |
parent | cd7e5c16f3e0e768a24b4d448db01b1d94a0b4c1 (diff) |
lws: update cam interface
Diffstat (limited to 'localwebsite/htdocs/index.php')
-rw-r--r-- | localwebsite/htdocs/index.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/localwebsite/htdocs/index.php b/localwebsite/htdocs/index.php index d1fc0fd..e249fc6 100644 --- a/localwebsite/htdocs/index.php +++ b/localwebsite/htdocs/index.php @@ -23,12 +23,13 @@ $router->add('inverter/set-osp/', 'Inverter set_osp'); $router->add('inverter/status.ajax', 'Inverter status_ajax'); // misc -$router->add('/', 'Misc main'); -$router->add('sensors/', 'Misc sensors_page'); -$router->add('pump/', 'Misc pump_page'); -$router->add('phpinfo/', 'Misc phpinfo'); -$router->add('cams/', 'Misc cams'); -$router->add('debug/', 'Misc debug'); +$router->add('/', 'Misc main'); +$router->add('sensors/', 'Misc sensors_page'); +$router->add('pump/', 'Misc pump_page'); +$router->add('phpinfo/', 'Misc phpinfo'); +$router->add('cams/', 'Misc cams'); +$router->add('cams/([\d,]+)/', 'Misc cams id=$(1)'); +$router->add('debug/', 'Misc debug'); // auth $router->add('auth/', 'Auth auth'); |