From 48f1ddca22f3e4bce273f3349ea2f51cd3029a16 Mon Sep 17 00:00:00 2001 From: mrevanzak Date: Wed, 29 Nov 2023 13:14:26 +0700 Subject: [PATCH] docs: env --- .env.example | 10 +++++----- apps/nextjs/next.config.mjs | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index df48914..3e060a6 100644 --- a/.env.example +++ b/.env.example @@ -7,10 +7,10 @@ # The database URL is used to connect to your PlanetScale database. DATABASE_URL= -EXPO_PUBLIC_API_URL= -EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY= - -NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= +WEBHOOK_SECRET= -WEBHOOK_SECRET= \ No newline at end of file +EXPO_PUBLIC_API_URL= +CLERK_PUBLISHABLE_KEY= +SUPABASE_STORAGE_URL= +SUPABASE_SERVICE_KEY= \ No newline at end of file diff --git a/apps/nextjs/next.config.mjs b/apps/nextjs/next.config.mjs index f999c12..6876294 100644 --- a/apps/nextjs/next.config.mjs +++ b/apps/nextjs/next.config.mjs @@ -9,6 +9,9 @@ const config = { /** We already do linting and typechecking as separate tasks in CI */ eslint: { ignoreDuringBuilds: true }, typescript: { ignoreBuildErrors: true }, + env: { + NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: process.env.CLERK_PUBLISHABLE_KEY, + }, }; export default config;