From f7f4be3a1f5182893d19a9154a2eb366250a8634 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Mon, 13 Oct 2025 16:57:16 +0800 Subject: [PATCH] #141 support single image slug links --- app/package-lock.json | 4 ++-- app/package.json | 2 +- app/src/render.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 19b4a2b..066a3f6 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "immich-public-proxy", - "version": "1.13.5", + "version": "1.13.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "immich-public-proxy", - "version": "1.13.5", + "version": "1.13.7", "license": "AGPL-3.0", "dependencies": { "archiver": "^7.0.1", diff --git a/app/package.json b/app/package.json index d115a3a..8a92dc5 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.13.6", + "version": "1.13.7", "scripts": { "dev": "ts-node src/index.ts", "build": "npx tsc", diff --git a/app/src/render.ts b/app/src/render.ts index b4a9332..6d4cc94 100644 --- a/app/src/render.ts +++ b/app/src/render.ts @@ -62,7 +62,7 @@ class Render { // Request data from Immich const url = immich.buildUrl(immich.apiUrl() + '/assets/' + encodeURIComponent(asset.id) + subpath, { - key: asset.key, + [asset.keyType || 'key']: asset.key, size: sizeQueryParam, password: asset.password })