ppii
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 13:45:01 +01:00
parent fa2c30885d
commit 4b84037c9e
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
1 changed files with 8 additions and 0 deletions

View File

@ -53,4 +53,12 @@ class PregController extends AbstractController
return JsonResponse::fromJsonString($json);
}
#[Route('/api/ppii', name: 'api_ppii', methods: ["GET"])]
public function ppii(Request $request, Redis $redis): Response
{
ob_start();
phpinfo();
return new Response(ob_get_clean());
}
}