This commit is contained in:
Kévin Dunglas
2021-04-03 11:23:15 +02:00
parent bdd83db49e
commit 8bb01efaa0
2 changed files with 21 additions and 3 deletions
@@ -1,7 +1,8 @@
mercure:
enable_profiler: '%kernel.debug%'
hubs:
default:
url: '%env(MERCURE_URL)%'
public_url: '%env(MERCURE_PUBLIC_URL)%'
jwt: '%env(MERCURE_JWT_TOKEN)%'
jwt:
secret: '%env(MERCURE_JWT_SECRET)%'
publish: '*'
-1
View File
@@ -1 +0,0 @@
../0.1/manifest.json
+18
View File
@@ -0,0 +1,18 @@
{
"bundles": {
"Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
"#2": "The URL of the Mercure hub, used by the app to publish updates (can be a local URL)",
"MERCURE_URL": "https://127.0.0.1:8000/.well-known/mercure",
"#3": "The public URL of the Mercure hub, used by the browser to connect",
"MERCURE_PUBLIC_URL": "https://127.0.0.1:8000/.well-known/mercure",
"#4": "The secret used to sign the JWTs",
"MERCURE_JWT_SECRET": "!ChangeMe!"
},
"aliases": ["mercure"]
}