Compare commits
2 Commits
6d29aa0be1
...
aac7283e59
| Author | SHA1 | Date | |
|---|---|---|---|
| aac7283e59 | |||
| 50087f3c15 |
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user