Skip to content

Commit

Permalink
Remove trailing slash on Immich URL
Browse files Browse the repository at this point in the history
  • Loading branch information
alangrainger committed Nov 15, 2024
1 parent 0b5f98f commit f914193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/immich.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Immich {
}

apiUrl () {
return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api'
return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api'
}

/**
Expand Down

0 comments on commit f914193

Please sign in to comment.