File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ Symfony provides the following env var processors:
285285
286286 # config/packages/framework.yaml
287287 parameters :
288- env(TRUSTED_HOSTS) : " 10.0.0.1, 10.0.0.2"
288+ env(TRUSTED_HOSTS) : " 10.0.0.1,10.0.0.2"
289289 framework :
290290 trusted_hosts : ' %env(csv:TRUSTED_HOSTS)%'
291291
@@ -302,7 +302,7 @@ Symfony provides the following env var processors:
302302 https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
303303
304304 <parameters >
305- <parameter key =" env(TRUSTED_HOSTS)" >[" 10.0.0.1", " 10.0.0.2"] </parameter >
305+ <parameter key =" env(TRUSTED_HOSTS)" >10.0.0.1, 10.0.0.2</parameter >
306306 </parameters >
307307
308308 <framework : config trusted-hosts =" %env(csv:TRUSTED_HOSTS)%" />
@@ -311,7 +311,7 @@ Symfony provides the following env var processors:
311311 .. code-block :: php
312312
313313 // config/packages/framework.php
314- $container->setParameter('env(TRUSTED_HOSTS)', '[" 10.0.0.1", " 10.0.0.2"] ');
314+ $container->setParameter('env(TRUSTED_HOSTS)', '10.0.0.1, 10.0.0.2');
315315 $container->loadFromExtension('framework', [
316316 'trusted_hosts' => '%env(csv:TRUSTED_HOSTS)%',
317317 ]);
You can’t perform that action at this time.
0 commit comments