Skip to content

Commit ef688d4

Browse files
committed
Update Mercure bundle documentation
Fix Mercure Bundle config
1 parent 04f40fd commit ef688d4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/Turbo/doc/index.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,15 @@ Otherwise, configure Mercure Hub(s) to use:
516516

517517
.. code-block:: yaml
518518
519-
# config/packages/turbo.yaml
520-
turbo:
521-
mercure:
522-
hubs: [default]
519+
# config/packages/mercure.yaml
520+
mercure:
521+
hubs:
522+
default:
523+
url: '%env(MERCURE_URL)%'
524+
public_url: '%env(MERCURE_PUBLIC_URL)%'
525+
jwt:
526+
secret: '%env(MERCURE_JWT_SECRET)%'
527+
publish: '*'
523528
524529
Let's create our chat::
525530

0 commit comments

Comments
 (0)