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
|
- name: backend
|
||||||
image: composer:2.1.14
|
image: composer:2.1.14
|
||||||
commands:
|
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
|
- name: frontend
|
||||||
image: node:16.13.1-alpine
|
image: node:16.13.1-alpine
|
||||||
|
|
|
@ -26,7 +26,8 @@ services:
|
||||||
|
|
||||||
Redis:
|
Redis:
|
||||||
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
||||||
class: Redis
|
class: \Redis
|
||||||
|
|
||||||
calls:
|
calls:
|
||||||
- connect:
|
- connect:
|
||||||
- '%env(REDIS_HOST)%'
|
- '%env(REDIS_HOST)%'
|
||||||
|
|
|
@ -53,12 +53,4 @@ class PregController extends AbstractController
|
||||||
|
|
||||||
return JsonResponse::fromJsonString($json);
|
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