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 (