2 Commits

Author SHA1 Message Date
aac7283e59 Merge branch 'master' of git.bizmatch.net:tknuth/QR-master 2026-08-06 09:04:04 -05:00
50087f3c15 umami 2026-08-06 09:01:39 -05:00
2 changed files with 11 additions and 0 deletions

View File

@@ -91,6 +91,8 @@ services:
R2_SECRET_ACCESS_KEY: ${R2_SECRET_ACCESS_KEY:-} R2_SECRET_ACCESS_KEY: ${R2_SECRET_ACCESS_KEY:-}
R2_BUCKET_NAME: ${R2_BUCKET_NAME:-qrmaster-menus} R2_BUCKET_NAME: ${R2_BUCKET_NAME:-qrmaster-menus}
R2_PUBLIC_URL: ${R2_PUBLIC_URL:-} R2_PUBLIC_URL: ${R2_PUBLIC_URL:-}
NEXT_PUBLIC_UMAMI_SRC: ${NEXT_PUBLIC_UMAMI_SRC:-}
NEXT_PUBLIC_UMAMI_ID: ${NEXT_PUBLIC_UMAMI_ID:-}
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy

View File

@@ -20,6 +20,7 @@ export const metadata: Metadata = {
: { index: false, follow: false }, : { index: false, follow: false },
icons: { icons: {
icon: [ icon: [
{ url: '/favicon.svg', type: 'image/svg+xml' }, { url: '/favicon.svg', type: 'image/svg+xml' },
{ url: '/favicon.ico', sizes: '16x16 32x32', type: 'image/x-icon' }, { url: '/favicon.ico', sizes: '16x16 32x32', type: 'image/x-icon' },
], ],
@@ -64,6 +65,14 @@ export default function RootLayout({
<FacebookPixel /> <FacebookPixel />
</Suspense> </Suspense>
{children} {children}
{process.env.NEXT_PUBLIC_UMAMI_SRC && process.env.NEXT_PUBLIC_UMAMI_ID && (
<Script
defer
src={process.env.NEXT_PUBLIC_UMAMI_SRC}
data-website-id={process.env.NEXT_PUBLIC_UMAMI_ID}
strategy="afterInteractive"
/>
)}
</Providers> </Providers>
</Suspense> </Suspense>