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:
285
285
286
286
# config/packages/framework.yaml
287
287
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"
289
289
framework :
290
290
trusted_hosts : ' %env(csv:TRUSTED_HOSTS)%'
291
291
@@ -302,7 +302,7 @@ Symfony provides the following env var processors:
302
302
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
303
303
304
304
<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 >
306
306
</parameters >
307
307
308
308
<framework : config trusted-hosts =" %env(csv:TRUSTED_HOSTS)%" />
@@ -311,7 +311,7 @@ Symfony provides the following env var processors:
311
311
.. code-block :: php
312
312
313
313
// 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');
315
315
$container->loadFromExtension('framework', [
316
316
'trusted_hosts' => '%env(csv:TRUSTED_HOSTS)%',
317
317
]);
You can’t perform that action at this time.
0 commit comments