π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(web): preserve memory routes in albums redirect guard
AmanRajSinghMouryafbdcc5145343
diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsxindex d7e13deac6..d28bed14a3 100644--- a/web/apps/photos/src/pages/index.tsx+++ b/web/apps/photos/src/pages/index.tsx@@ -109,12 +109,14 @@ const Page: React.FC = () => {}const albumsURL = new URL(albumsAppOrigin());- currentURL.pathname = router.pathname;+ const isMemoryRoute =+ currentURL.pathname === "/memory" ||+ currentURL.pathname.startsWith("/memory/");if ((shouldOnlyServeAlbumsApp ||currentURL.host == albumsURL.host) &¤tURL.pathname != "/shared-albums" &&- currentURL.pathname != "/memory"+ !isMemoryRoute) {const end = currentURL.hash.lastIndexOf("&");const hash = currentURL.hash.slice(