Remove trailing slash on Immich URL

This commit is contained in:
Alan Grainger committed 2024-11-15 19:44:55 +01:00
1 parent 0b5f98f145
commit f914193be8
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class Immich {
}
apiUrl () {
return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api'
return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api'
}
/**