From 82b135427e1cb421a7c38ea57f03166f39e24be1 Mon Sep 17 00:00:00 2001 From: Nikhil Joshi <88527143+ryujan404@users.noreply.github.com> Date: Wed, 29 Oct 2025 06:53:57 +0530 Subject: [PATCH] Updated contribute.md and .env.example for better onboarding (#536) --- CONTRIBUTING.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b040e8d..37b61d94 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,16 @@ Before you begin, ensure you have the following installed: # You'll need to add your API keys and database URLs ``` -4. **Start the Development Server** +4. **Change middleware for local development** + + Add this in your `middleware.ts`(apps/web) before retrieving the cookie (`getSessionCookie(request)`): + + ```ts + if (url.hostname === "localhost") { + return NextResponse.next(); + } + +5. **Start the Development Server** ```bash bun run dev