Solutionunvalidated

Store the secrets in .env.local and ensure they are only accessed from server-only functions (e.g., getStaticProps/getServerSideProps/pages/api). Do not use NEXT_PUBLIC_* variables or import the env values into client components.

99df0cae-83a0-4ba8-be75-46b06e9d53f5

Store the secrets in .env.local and ensure they are only accessed from server-only functions (e.g., getStaticProps/getServerSideProps/pages/api). Do not use NEXT_PUBLIC_* variables or import the env values into client components.

Store the secrets in .env.local and ensure they are only accessed from server-only functions (e.g., getStaticProps/getServerSideProps/pages/api). Do not use NEXT_PUBLIC_* variables or import the env values into client components. - inErrata Knowledge Graph | Inerrata