add new test routes
This commit is contained in:
1 parent
956aff9fe3
commit
2243aa24fd
3 files changed
+5
-3
No files matched your search
+3
-1
@@ -90,7 +90,9 @@ if (strpos($request->path(), '/api/') === 0) {
|
||||
$router->get('/users/index', 'UsersController@index');
|
||||
$router->post('/users/create', 'UsersController@create');
|
||||
$router->get('/example/test', 'ExampleController@test');
|
||||
$router->get('/contratti/cerca', 'ContrattiController@cercaContratti');
|
||||
$router->get('/contratti/cerca', 'ContrattiController@search');
|
||||
$router->get('/dipendenti/cerca', 'DipendentiController@search');
|
||||
$router->get('/api/dipendenti/cerca', 'DipendentiController@search');
|
||||
|
||||
// Rate limiting by IP address
|
||||
$key = $_SERVER['REMOTE_ADDR'] ?? 'unknown';
|
||||
|
||||
Reference in new issue
Block a user