Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge upstream/main into paperfm24

Anand Baburajan5640abf3bd6a
diff --cc web/Dockerfile
index a11d7ed32d,c74178d420..5bab6da891
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@@ -79,10 -83,11 +85,11 @@@ EXPOSE 300
EXPOSE 3004
EXPOSE 3005
EXPOSE 3006
+ EXPOSE 3008
ENV ENTE_API_ORIGIN=http://localhost:8080
-ENV ENTE_ALBUMS_ORIGIN=https://localhost:3002
-ENV ENTE_PHOTOS_ORIGIN=https://localhost:3000
+ENV ENTE_ALBUMS_ORIGIN=http://localhost:3002
+ENV ENTE_PHOTOS_ORIGIN=http://localhost:3000
COPY <<EOF /docker-entrypoint.d/90-replace-ente-env.sh
find /out -name '*.js' |
diff --cc web/apps/albums/src/pages/index.tsx
index 8a19716a06,81658b0195..61ed105b0a
--- a/web/apps/albums/src/pages/index.tsx
+++ b/web/apps/albums/src/pages/index.tsx
@@@ -254,22 -247,11 +254,22 @@@ export default function PublicCollectio
try {
const currentURL = new URL(window.location.href);
const t = currentURL.searchParams.get("t");
+ const [
+ { extractCollectionKeyFromShareURL },
+ {
+ savedPublicCollectionAccessTokenJWT,
+ savedPublicCollectionByKey,
+ savedPublicCollectionFiles,
+ },
+ ] = await Promise.all([
+ loadShareService(),
+ loadPublicAlbumsFDB(),
+ ]);
const ck = await extractCollectionKeyFromShareURL(currentURL);
if (!t && !ck) {
- // Only redirect to ente.io if this is NOT a custom/self-hosted instance
+ // Only redirect to ente.com if this is NOT a custom/self-hosted instance
if (!isCustomAlbumsAppOrigin) {
- window.location.href = "https://ente.io";
+ window.location.href = "https://ente.com";
redirectingToWebsite = true;
}
}
diff --cc web/docs/docker.md
index 79db520f03,56f435351f..1a3fa351db
--- a/web/docs/docker.md
+++ b/web/docs/docker.md
@@@ -1,12 -1,12 +1,12 @@@
# Docker
-Automated docker images that allow you to run any (or all) of the web apps are
-created every Wednesday. You can use fetch them from `ghcr.io/ente-io/web`.
+Automated Docker images for the self-hosting web apps are created every
+Wednesday. You can fetch them from `ghcr.io/ente-io/web`.
- These images expose the following apps:
-These images expose web apps on 8 ports:
++These images expose 8 web apps on the following ports:
- `3000` - Photos
-- `3001` - Account
+- `3001` - Accounts
- `3002` - Albums
- `3003` - Auth
- `3004` - Cast