+1
-1
@@ -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",
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user