From bb61cf600049f13aa84ea55700bba8144b98ce13 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Fri, 23 Jan 2026 10:09:30 +1300 Subject: [PATCH] #176 revert PR #174 --- app/package.json | 2 +- app/src/index.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index 8da107a..431b1c4 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.14.3", + "version": "1.14.4", "scripts": { "dev": "ts-node src/index.ts", "build": "npx tsc", diff --git a/app/src/index.ts b/app/src/index.ts index 1c9e669..7c7a676 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -125,6 +125,13 @@ app.get('/share/:type(photo|video)/:key/:id/:size?', decodeCookie, async (req, r return } + /* + This was the change made in PR https://github.com/alangrainger/immich-public-proxy/pull/174 + I have had to remove this because it was preventing password-protected slug albums + from working. + + This will be added back in once the slug issue is solved. + // Validate share link and check password before serving assets // This prevents direct URL access from bypassing password protection // The password is provided from the encrypted session cookie (if set) @@ -146,6 +153,7 @@ app.get('/share/:type(photo|video)/:key/:id/:size?', decodeCookie, async (req, r respondToInvalidRequest(res, 404, 'Asset not found in share') return } + */ const request = { req,