diff --git a/app/src/immich.ts b/app/src/immich.ts index 8622c2a..f02ce36 100644 --- a/app/src/immich.ts +++ b/app/src/immich.ts @@ -30,7 +30,7 @@ class Immich { } apiUrl () { - return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api' + return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api' } /**