Skip to content

Commit 4e70b62

Browse files
authored
Merge pull request #3 from mwarzybok-sumoheavy/bugfix/nav
Fix nav & adapt .env for Mercure docker image
2 parents 9f07d97 + 92c579e commit 4e70b62

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
4444
###> symfony/mercure-bundle ###
4545
# See https://symfony.com/doc/current/mercure.html#configuration
4646
# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
47-
MERCURE_URL=https://example.com/.well-known/mercure
47+
MERCURE_URL=http://mercure/.well-known/mercure
4848
# The public URL of the Mercure hub, used by the browser to connect
49-
MERCURE_PUBLIC_URL=https://example.com/.well-known/mercure
49+
MERCURE_PUBLIC_URL=http://localhost:1337/.well-known/mercure
5050
# The secret used to sign the JWTs
5151
MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!"
5252
###< symfony/mercure-bundle ###

templates/base.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</head>
2424
<body>
2525

26-
<div id="main" class="row">
26+
<div id="main">
2727

2828
<div id="snackbars" class="fixed top-10 right-10 w-80 space-y-5">
2929
<div aria-live="assertive" id="snackbar-template" class="invisible pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6">

templates/navigation.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<nav class="border-b border-gray-200 bg-white">
2-
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
2+
<div class="mx-auto px-4 sm:px-6 lg:px-8">
33
<div class="flex h-16 justify-between">
44
<div class="flex">
55
<a href="/" class="flex flex-shrink-0 items-center">

0 commit comments

Comments
 (0)