File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ Then, install the Symfony bundle:
25
25
composer require symfony/mercure-bundle
26
26
```
27
27
28
- Finally, 3 environment variables [ must be set] ( https://symfony.com/doc/current/configuration/external_parameters .html ) :
28
+ Finally, 3 environment variables [ must be set] ( https://symfony.com/doc/current/configuration.html#configuration-based-on-environment-variables ) :
29
29
30
- * ` 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)
31
- * ` MERCURE_SUBSCRIBE_URL ` : the ** public** URL of the Mercure hub that clients will use to subscribe to updates
32
- * ` MERCURE_JWT_TOKEN ` : a valid Mercure [ JSON Web Token (JWT)] ( https://jwt.io/ ) allowing API Platform to publish updates to the hub
30
+ * ` MERCURE_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)
31
+ * ` MERCURE_PUBLIC_URL ` : the ** public** URL of the Mercure hub that clients will use to subscribe to updates
32
+ * ` MERCURE_JWT_SECRET ` : a valid Mercure [ JSON Web Token (JWT)] ( https://jwt.io/ ) allowing API Platform to publish updates to the hub
33
33
34
34
The JWT ** must** contain a ` mercure.publish ` property containing an array of topic selectors.
35
35
This array can be empty to allow publishing anonymous updates only. It can also be ` ["*"] ` to allow publishing on every topics.
You can’t perform that action at this time.
0 commit comments