Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spree API Configuration (server-side only - not exposed to browser)
SPREE_API_URL=http://localhost:3000
SPREE_API_KEY=your_publishable_api_key
SPREE_PUBLISHABLE_KEY=your_publishable_api_key

# Store defaults (should match your Spree store settings)
# These are used by the middleware for initial redirects before API data is loaded
Expand Down
2 changes: 1 addition & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Spree API Configuration (server-side only)
SPREE_API_URL=http://localhost:3000
SPREE_API_KEY=your_publishable_api_key_here
SPREE_PUBLISHABLE_KEY=your_publishable_api_key_here
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cp .env.local.example .env.local

```env
SPREE_API_URL=http://localhost:3000
SPREE_API_KEY=your_publishable_api_key_here
SPREE_PUBLISHABLE_KEY=your_publishable_api_key_here
```

> Note: These are server-side only variables (no `NEXT_PUBLIC_` prefix needed).
Expand Down Expand Up @@ -233,7 +233,7 @@ The easiest way to deploy is using [Vercel](https://vercel.com/new):
1. Push your code to GitHub
2. Import the repository in Vercel
3. Add environment variables:
- `SPREE_API_URL` and `SPREE_API_KEY` (required)
- `SPREE_API_URL` and `SPREE_PUBLISHABLE_KEY` (required)
- `SENTRY_DSN`, `SENTRY_ORG`, `SENTRY_PROJECT`, `SENTRY_AUTH_TOKEN` (optional — for error tracking with readable stack traces)
4. Deploy

Expand Down
Loading