From 81f26541728d188408eed6307b9d5f75e3d33820 Mon Sep 17 00:00:00 2001 From: akdeb Date: Fri, 18 Apr 2025 01:12:15 +0100 Subject: [PATCH] updating example --- frontend-nextjs/.env.example | 5 +++++ .../app/components/Nav/NavbarButtons.tsx | 4 ++-- .../app/components/Settings/AppSettings.tsx | 20 ++++++++++++++++++- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/frontend-nextjs/.env.example b/frontend-nextjs/.env.example index a44dc28..05a39d7 100644 --- a/frontend-nextjs/.env.example +++ b/frontend-nextjs/.env.example @@ -4,7 +4,12 @@ NEXT_PUBLIC_SUPABASE_URL= NEXT_PUBLIC_SUPABASE_ANON_KEY= JWT_SECRET_KEY= + +# Encryption key for E2E encryption of API keys +# You can generate a random key with `openssl rand -base64 32` ENCRYPTION_KEY= + +# OpenAI API key OPENAI_API_KEY= # NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321 diff --git a/frontend-nextjs/app/components/Nav/NavbarButtons.tsx b/frontend-nextjs/app/components/Nav/NavbarButtons.tsx index 821b381..78d573e 100644 --- a/frontend-nextjs/app/components/Nav/NavbarButtons.tsx +++ b/frontend-nextjs/app/components/Nav/NavbarButtons.tsx @@ -54,8 +54,8 @@ const NavbarButtons: React.FC = ({ >