rsnext/examples/with-graphql-faunadb/.env.local.example
Allen Hai 2b817af1ea
Update fauna example (#19806)
This PR removes the `next.config.js` file with an `env` key and instead modifies the setup script to create a `.env.local` file with the provided credentials. 

I also made some changes to the Deploy Button to ask for the environment variables when creating a new project.
2020-12-04 01:28:37 +00:00

2 lines
No EOL
136 B
Text

NEXT_PUBLIC_FAUNADB_SECRET=<replace-with-generated-client-secret>
NEXT_PUBLIC_FAUNADB_GRAPHQL_ENDPOINT=https://graphql.fauna.com/graphql