Further work on issue 192

This commit is contained in:
Pinga 2024-12-06 14:40:22 +02:00
parent 561f8f514e
commit 79eca91eb1
5 changed files with 337 additions and 69 deletions

View file

@ -150,6 +150,7 @@ $app->group('', function ($route) {
$route->post('/change-password', PasswordController::class . ':changePassword')->setName('change.password');
$route->get('/dapi/domains', [DapiController::class, 'listDomains']);
$route->get('/dapi/applications', [DapiController::class, 'listApplications']);
})->add(new AuthMiddleware($container));
$app->any('/api[/{params:.*}]', function (