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