|
@@ -44,12 +44,20 @@
|
|
|
|
|
|
# The URL for the shared albums deployment
|
|
|
#
|
|
|
-# Currently the shared albums code is intermixed with the photos app code; when
|
|
|
-# deploying, we add an a CNAME alias from "albums.ente.io" -> "/shared-album".
|
|
|
+# The shared albums are served from the photos app code, and "albums.ente.io" is
|
|
|
+# a CNAME alias to the main photo app itself. When the main index page loads, it
|
|
|
+# checks to see if the host is "albums.ente.io", and if so, redirects to
|
|
|
+# /shared-albums.
|
|
|
+#
|
|
|
+# This environment variable allows us to check for a host other than
|
|
|
+# "albums.ente.io". By setting this to localhost:3002 and running the photos app
|
|
|
+# on port 3002 (using `yarn dev:albums`), we can connect to it and emulate the
|
|
|
+# production behaviour.
|
|
|
#
|
|
|
# Enhancement: Consider splitting this into a separate app/ in this repository.
|
|
|
+# That can also reduce bundle sizes and make it load faster.
|
|
|
#
|
|
|
-# NEXT_PUBLIC_ENTE_ALBUM_ENDPOINT = http://localhost:3002
|
|
|
+# NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT = http://localhost:3002
|
|
|
|
|
|
# The URL of the family plans web app deployment
|
|
|
#
|