This commit is contained in:
Alan Grainger
2026-01-23 10:09:30 +13:00
parent 765afd9e26
commit bb61cf6000
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "immich-public-proxy", "name": "immich-public-proxy",
"version": "1.14.3", "version": "1.14.4",
"scripts": { "scripts": {
"dev": "ts-node src/index.ts", "dev": "ts-node src/index.ts",
"build": "npx tsc", "build": "npx tsc",
+8
View File
@@ -125,6 +125,13 @@ app.get('/share/:type(photo|video)/:key/:id/:size?', decodeCookie, async (req, r
return 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 // Validate share link and check password before serving assets
// This prevents direct URL access from bypassing password protection // This prevents direct URL access from bypassing password protection
// The password is provided from the encrypted session cookie (if set) // 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') respondToInvalidRequest(res, 404, 'Asset not found in share')
return return
} }
*/
const request = { const request = {
req, req,