diff --git a/src/index.html b/src/index.html index 88332bd..ca013d0 100644 --- a/src/index.html +++ b/src/index.html @@ -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); } });