mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
Updated contribute.md and .env.example for better onboarding (#536)
This commit is contained in:
parent
97071502a7
commit
82b135427e
1 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue