slash
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d18f9c34a3
commit
dde29a26d8
|
@ -6,7 +6,7 @@ steps:
|
|||
- name: backend
|
||||
image: composer:2.1.14
|
||||
commands:
|
||||
- cd backend && composer install && composer dump-autoload --classmap-authoritative && bin/console cache:clear --env=prod && bin/console cache:warmup --env=prod
|
||||
- cd backend && composer install && composer dump-autoload --classmap-authoritative
|
||||
|
||||
- name: frontend
|
||||
image: node:16.13.1-alpine
|
||||
|
|
|
@ -26,7 +26,8 @@ services:
|
|||
|
||||
Redis:
|
||||
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
||||
class: Redis
|
||||
class: \Redis
|
||||
|
||||
calls:
|
||||
- connect:
|
||||
- '%env(REDIS_HOST)%'
|
||||
|
|
|
@ -53,12 +53,4 @@ class PregController extends AbstractController
|
|||
|
||||
return JsonResponse::fromJsonString($json);
|
||||
}
|
||||
|
||||
#[Route('/api/ppii', name: 'api_ppii', methods: ["GET"])]
|
||||
public function ppii(): Response
|
||||
{
|
||||
ob_start();
|
||||
phpinfo();
|
||||
return new Response(ob_get_clean());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue