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