Skip to content

Commit cbcce53

Browse files
author
Jérôme Deuchnord
committed
Fix environment variable name
1 parent 83acd6d commit cbcce53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/mercure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Finally, 3 environment variables [must be set](https://symfony.com/doc/current/c
2626

2727
* `MERCURE_PUBLISH_URL`: the URL that must be used by API Platform to publish updates to your Mercure hub (can be an internal or a public URL)
2828
* `MERCURE_SUBSCRIBE_URL`: the **public** URL of the Mercure hub that clients will use to subscribe to updates
29-
* `MERCURE_JWT`: a valid Mercure [JSON Web Token (JWT)](https://jwt.io/) allowing API Platform to publish updates to the hub
29+
* `MERCURE_JWT_SECRET`: a valid Mercure [JSON Web Token (JWT)](https://jwt.io/) allowing API Platform to publish updates to the hub
3030

3131
The JWT **must** contain a `mercure.publish` property containing an array of targets.
3232
This array can be empty to allow publishing anonymous updates only.

0 commit comments

Comments
 (0)