Skip to content

Commit b4807fc

Browse files
committed
[symfony/mercure-bundle] Make MERCURE_PUBLIC_URL optional
Since `symfony/mercure-bundle` v0.3.0 (symfony/mercure-bundle#42) the `public_url` config is optional and its default value is `null`.
1 parent 7fb3816 commit b4807fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

symfony/mercure-bundle/0.3/config/packages/mercure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mercure:
22
hubs:
33
default:
44
url: '%env(MERCURE_URL)%'
5-
public_url: '%env(MERCURE_PUBLIC_URL)%'
5+
public_url: '%env(default::MERCURE_PUBLIC_URL)%'
66
jwt:
77
secret: '%env(MERCURE_JWT_SECRET)%'
88
publish: '*'

symfony/mercure-bundle/0.4/config/packages/mercure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mercure:
22
hubs:
33
default:
44
url: '%env(default::MERCURE_URL)%'
5-
public_url: '%env(MERCURE_PUBLIC_URL)%'
5+
public_url: '%env(default::MERCURE_PUBLIC_URL)%'
66
jwt:
77
secret: '%env(MERCURE_JWT_SECRET)%'
88
publish: '*'

0 commit comments

Comments
 (0)