From 4aeb6aa8a3bd3119abf262966216f578cc9692dc Mon Sep 17 00:00:00 2001 From: thisfro Date: Thu, 3 Jun 2021 15:10:10 +0200 Subject: [PATCH] set default uri in .env --- .env | 4 +++- config/packages/framework.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env b/.env index bb6ab91..7da46f2 100644 --- a/.env +++ b/.env @@ -29,4 +29,6 @@ DATABASE_URL="postgresql://postgres:develop@localhost:5432/plantex?serverVersion ###> symfony/mailer ### # MAILER_DSN=smtp://localhost -###< symfony/mailer ### \ No newline at end of file +###< symfony/mailer ### + +DEFAULT_URI='http://localhost:8080/' \ No newline at end of file diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 3cb867a..17b16a7 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -17,4 +17,4 @@ framework: log: true router: - default_uri: 'https://pflaenz.li/' \ No newline at end of file + default_uri: '%env(DEFAULT_URI)%' \ No newline at end of file