mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[symfony/mercure-bundle] Make MERCURE_PUBLIC_URL optional (#1520)
Since `symfony/mercure-bundle` v0.3.0 (https://github.com/symfony/mercure-bundle/pull/42) the `public_url` config is optional and its default value is `null`.
This commit is contained in:
@@ -2,7 +2,7 @@ mercure:
|
||||
hubs:
|
||||
default:
|
||||
url: '%env(MERCURE_URL)%'
|
||||
public_url: '%env(MERCURE_PUBLIC_URL)%'
|
||||
public_url: '%env(default::MERCURE_PUBLIC_URL)%'
|
||||
jwt:
|
||||
secret: '%env(MERCURE_JWT_SECRET)%'
|
||||
publish: '*'
|
||||
|
||||
@@ -2,7 +2,7 @@ mercure:
|
||||
hubs:
|
||||
default:
|
||||
url: '%env(default::MERCURE_URL)%'
|
||||
public_url: '%env(MERCURE_PUBLIC_URL)%'
|
||||
public_url: '%env(default::MERCURE_PUBLIC_URL)%'
|
||||
jwt:
|
||||
secret: '%env(MERCURE_JWT_SECRET)%'
|
||||
publish: '*'
|
||||
|
||||
Reference in New Issue
Block a user