From 496493848591b67f21b792f0dcff2d61e1eedbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Wed, 23 Jul 2025 20:06:34 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20ajout=C3=A9=20variables=20NEXT=5FPUBLIC?= =?UTF-8?q?=20pour=20footer=20c=C3=B4t=C3=A9=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Variables NEXT_PUBLIC_APP_FOOTER_TEXT/URL dans .env.sample - Supprimé console.log debug dans Footer --- .env.sample | 2 ++ components/footer.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.sample b/.env.sample index 0123b53..b70cd55 100644 --- a/.env.sample +++ b/.env.sample @@ -3,6 +3,8 @@ DIRECTUS_API_WS_URL=ws://0.0.0.0:8055/websocket APP_TITLE=constitution de karukera APP_FOOTER_TEXT=organisation ka internationale (oki) APP_FOOTER_URL=https://o-k-i.net +NEXT_PUBLIC_APP_FOOTER_TEXT=organisation ka internationale (oki) +NEXT_PUBLIC_APP_FOOTER_URL=https://o-k-i.net # AUTH NEXTAUTH_URL=http://0.0.0.0:3000 diff --git a/components/footer.js b/components/footer.js index ca2f723..438182c 100644 --- a/components/footer.js +++ b/components/footer.js @@ -4,8 +4,8 @@ import Container from '@mui/material/Container' import Link from '@mui/material/Link' import {grey} from '@mui/material/colors' -const appFooterText = process.env.APP_FOOTER_TEXT -const appFooterUrl = process.env.APP_FOOTER_URL +const appFooterText = process.env.NEXT_PUBLIC_APP_FOOTER_TEXT +const appFooterUrl = process.env.NEXT_PUBLIC_APP_FOOTER_URL export default function Footer() { return (