Skip to content

Commit 36082d1

Browse files
committed
update .env desc
1 parent a1e7f8c commit 36082d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/next/woocommerce/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,12 @@ Install and activate these plugins in your WordPress admin:
145145
Create a `.env` file in the `example-app` directory:
146146

147147
```env
148-
NEXT_PUBLIC_WORDPRESS_URL=https://your-wordpress-site.com
148+
NEXT_PUBLIC_WORDPRESS_URL=http://localhost:8890
149+
NEXT_PUBLIC_GRAPHQL_PATH=/graphql
150+
SESSION_TOKEN_LS_KEY=woocommerce_session_token
151+
REFRESH_TOKEN_LS_KEY=my_refresh_token
152+
AUTH_TOKEN_LS_KEY=my_auth_token
153+
AUTH_KEY_TIMEOUT=30000
149154
```
150155

151156
> **Important:** Use your actual WordPress URL without a trailing slash.

0 commit comments

Comments
 (0)