Environment Variables
There are two environment files for local development and production:
.env.local
.env.production
NEXT_PUBLIC_URL
points to your Gravity web client and is directs users to auth pages.
For example, when a user clicks on a signup button, they will be directed to NEXT_PUBLIC_URL/signup
NEXT_PUBLIC_API
points to your server API endpoint and is used for fetching a list of price plans.
Last updated