mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Remove slash
This commit is contained in:
parent
ba3e026927
commit
969e0bccc9
@ -150,6 +150,9 @@ function getBaseUrl() {
|
||||
if (bases.length > 0) {
|
||||
baseHref = bases[0].href;
|
||||
}
|
||||
if (null !== baseHref && '/' === baseHref.slice(-1)) {
|
||||
baseHref = baseHref.slice(0, -1);
|
||||
}
|
||||
console.log('baseHref for mass edit is "' + baseHref + '".');
|
||||
return baseHref;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user