mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove slash
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user