mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-09-11 16:50:46 +02:00
Ajout d'un préfix d'API (pour le déploiement en vrai ^^)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
controllers:
|
||||
prefix: '%api-prefix%'
|
||||
resource:
|
||||
path: ../src/Controller/
|
||||
namespace: App\Controller
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user