1
- # Learn more about ENV variables at https://github.com/WebDevStudios/nextjs-wordpress-starter/wiki
1
+ # Learn more about ENV variables at https://github.com/WebDevStudios/nextjs-wordpress-starter/wiki/env-variables
2
2
3
- # Tells next .js we're in development mode
3
+ # Tells Next .js we're in development mode. You do not need a Vercel account for this.
4
4
VERCEL_ENV = " development"
5
5
6
- # Allows node to work with local self-signed certificates.
6
+ # Allows Node to work with local, self-signed certificates.
7
7
NODE_TLS_REJECT_UNAUTHORIZED = " 0"
8
8
9
- # Your local WordPress URL.
10
- LOCAL_WORDPRESS_API_URL = " https://nextjswp.test /"
9
+ # Your WordPress URL.
10
+ WORDPRESS_URL = " https://nextjs.wpengine.com /"
11
11
12
- # Your development WordPress URL.
13
- DEV_WORDPRESS_API_URL = " https://devwordpress.com"
14
-
15
- # Your staging WordPress URL.
16
- STAGING_WORDPRESS_API_URL = " https://stagingwordpress.com/"
17
-
18
- # Your production WordPress URL.
19
- PROD_WORDPRESS_API_URL = " https://productionwordpress.com/"
20
-
21
- # This needs to match PREVIEW_SECRET_TOKEN constant in wp-config.php. It can be any random string.
22
- WORDPRESS_PREVIEW_SECRET = " ANY_RANDOM_STRING_SEE_README"
12
+ # This needs to match WORDPRESS_PREVIEW_SECRET constant in wp-config.php. It can be any random string.
13
+ WORDPRESS_PREVIEW_SECRET = " ANY_RANDOM_STRING_OF_TEXT"
23
14
24
15
# Your WordPress username.
25
16
WORDPRESS_APPLICATION_USERNAME = " YOUR_WORDPRESS_USERNAME"
@@ -28,7 +19,7 @@ WORDPRESS_APPLICATION_USERNAME="YOUR_WORDPRESS_USERNAME"
28
19
WORDPRESS_APPLICATION_PASSWORD = " YOUR_GENERATED_APPLICATION_PASSWORD"
29
20
30
21
# Your Algolia index name.
31
- NEXT_PUBLIC_LOCAL_ALGOLIA_INDEX_NAME = " YOUR_ALGOLIA_INDEX_NAME"
22
+ NEXT_PUBLIC_ALGOLIA_INDEX_NAME = " YOUR_ALGOLIA_INDEX_NAME"
32
23
33
24
# Your Algolia application ID.
34
25
NEXT_PUBLIC_ALGOLIA_APPLICATION_ID = " YOUR_ALGOLIA_APP_ID"
0 commit comments