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:
parent
0b5f98f145
commit
f914193be8
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class Immich {
|
|||
}
|
||||
|
||||
apiUrl () {
|
||||
return (process.env.IMMICH_URL || '').replace(/\/$/, '') + '/api'
|
||||
return (process.env.IMMICH_URL || '').replace(/\/*$/, '') + '/api'
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue