Merge pull request #522 from marner2/patch-1

Fix base where Taskboard is hosted at root.
This commit is contained in:
Matthew Ross 2020-07-02 11:51:20 -04:00 committed by GitHub
commit d664355ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@
['/boards', '/settings', '/dashboard'].forEach(p => {
const i = path.indexOf(p)
if (i > 0) {
if (i >= 0) {
path = path.substring(0, i);
}
});