From 110f24a8e17674164a61ccd05425c9b506f946cf Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Sun, 14 Jul 2024 18:03:58 +0200 Subject: [PATCH] prepend BASE_PATH if here --- app/layout.tsx | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index b553922a4..7083b4182 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -59,21 +59,41 @@ export const metadata: Metadata = { } export default function RootLayout({ children }: { children: React.ReactNode }) { + const basePath = process.env.BASE_PATH || '' + return ( - - - - - + + + + + - +