From 19d66296fe431eadcea4e202055546cbf2ad06e1 Mon Sep 17 00:00:00 2001 From: Jan <17313367+JW-CH@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:06:23 +0100 Subject: [PATCH] chore(web): redirect share page redirect to base path (#5889) --- .../components/share-page/individual-shared-viewer.svelte | 6 +----- web/src/routes/(user)/share/[key]/+page.svelte | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/web/src/lib/components/share-page/individual-shared-viewer.svelte b/web/src/lib/components/share-page/individual-shared-viewer.svelte index 99b105e995..6928b83063 100644 --- a/web/src/lib/components/share-page/individual-shared-viewer.svelte +++ b/web/src/lib/components/share-page/individual-shared-viewer.svelte @@ -81,11 +81,7 @@ {:else} goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}> - +

IMMICH

diff --git a/web/src/routes/(user)/share/[key]/+page.svelte b/web/src/routes/(user)/share/[key]/+page.svelte index 6a0f2d64f5..9a4160ebfb 100644 --- a/web/src/routes/(user)/share/[key]/+page.svelte +++ b/web/src/routes/(user)/share/[key]/+page.svelte @@ -38,11 +38,7 @@
- +

IMMICH

@@ -72,7 +68,6 @@ {#if !passwordRequired && sharedLink?.type == SharedLinkType.Album} {/if} - {#if !passwordRequired && sharedLink?.type == SharedLinkType.Individual}