Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Understand a bit better

Manav Rathibadece4cce71
diff --git a/apps/photos/.env.development b/apps/photos/.env.development
index 6019de5d7f..aa3bd59fe1 100644
--- a/apps/photos/.env.development
+++ b/apps/photos/.env.development
@@ -15,7 +15,9 @@
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:3000 yarn dev:photos
#
# Variables prefixed with NEXT_PUBLIC_ (in our case, all of them) are made
-# available when next runs our code in the browser. For more details, see
+# available when next runs our code in the browser (Behind the scenes, Next just
+# hardcodes occurrences of `process.env.NEXT_PUBLIC_FOO` with the value of the
+# `NEXT_PUBLIC_FOO` env var when the bundle is built). For more details, see
# https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
#
# By default, the app is configured to connect to the production instance etc.