From 92c579e6ca9be9de7bc7d2e9ab4c81e0f17c01b0 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Thu, 21 Sep 2023 11:36:38 +0200 Subject: [PATCH] Fix nav & adapt .env for Mercure docker image --- .env | 4 ++-- templates/base.html.twig | 2 +- templates/navigation.html.twig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 85f0fbf..ac599f7 100644 --- a/.env +++ b/.env @@ -44,9 +44,9 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 ###> symfony/mercure-bundle ### # See https://symfony.com/doc/current/mercure.html#configuration # The URL of the Mercure hub, used by the app to publish updates (can be a local URL) -MERCURE_URL=https://example.com/.well-known/mercure +MERCURE_URL=http://mercure/.well-known/mercure # The public URL of the Mercure hub, used by the browser to connect -MERCURE_PUBLIC_URL=https://example.com/.well-known/mercure +MERCURE_PUBLIC_URL=http://localhost:1337/.well-known/mercure # The secret used to sign the JWTs MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!" ###< symfony/mercure-bundle ### diff --git a/templates/base.html.twig b/templates/base.html.twig index 18c268b..6223072 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -23,7 +23,7 @@ -
+