summaryrefslogtreecommitdiffstats
path: root/.env.example
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-13 16:42:50 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-13 16:52:33 +0100
commit5bc55ac0a801cbe82c41a10f7e680612be4deaf8 (patch)
tree9dbfada52bdc4750cca60e9bc8b8fd63cf9a4737 /.env.example
parent8c836de71b47744ec3e99cb8b3c853528fa66b52 (diff)
chore: create homepage with graphql data
Diffstat (limited to '.env.example')
-rw-r--r--.env.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..c4ddb0e
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,9 @@
+BACKEND_URL="https://www.backend.com"
+GRAPHQL_ENDPOINT="/graphql"
+
+NEXT_PUBLIC_GRAPHQL_API="$BACKEND_URL$GRAPHQL_ENDPOINT"
+
+# Use this only in development mode. It prevents "unable to verify the first
+# certificate" error when using a local domain with mkcert certificate for
+# backend.
+#NODE_TLS_REJECT_UNAUTHORIZED=0