]> Raphaƫl G. Git Repositories - blog/blobdiff - config/packages/routing.yaml
Add default uri
[blog] / config / packages / routing.yaml
index 8166181c68ab07bfac9aee6e482c7cc24031b8aa..0f34f872ce35ab780aba3b249d2603274273a28b 100644 (file)
@@ -2,7 +2,7 @@ framework:
     router:
         # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
         # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
-        #default_uri: http://localhost
+        default_uri: '%env(DEFAULT_URI)%'
 
 when@prod:
     framework: