Ajout d'un préfix d'API (pour le déploiement en vrai ^^)

This commit is contained in:
2023-03-03 19:40:37 +01:00
parent ca239c1122
commit 5b74814963
5 changed files with 25 additions and 30 deletions
+1
View File
@@ -1,4 +1,5 @@
controllers:
prefix: '%api-prefix%'
resource:
path: ../src/Controller/
namespace: App\Controller
+1
View File
@@ -4,6 +4,7 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
api-prefix: '%env(API_PREFIX)%'
services:
# default configuration for services in *this* file