1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-28 03:41:58 +00:00

Remove trailing slash on Immich URL

This commit is contained in:
Alan Grainger 2024-11-15 19:44:55 +01:00
parent 0b5f98f145
commit f914193be8

View file

@ -30,7 +30,7 @@ class Immich {
}
apiUrl () {
return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api'
return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api'
}
/**