Remove trailing slash on Immich URL
This commit is contained in:
parent
0b5f98f145
commit
f914193be8
@ -30,7 +30,7 @@ class Immich {
|
||||
}
|
||||
|
||||
apiUrl () {
|
||||
return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api'
|
||||
return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api'
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user