Updated contribute.md and .env.example for better onboarding (#536)

This commit is contained in:
Nikhil Joshi 2025-10-29 06:53:57 +05:30 committed by GitHub
parent 97071502a7
commit 82b135427e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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