fix whoopsie where i didnt account for the fact the the leading slash is trimmed

This commit is contained in:
hippoz 2020-10-25 16:26:58 +02:00
parent 84ef1efaac
commit 479f6119b4

View file

@ -14,7 +14,7 @@ const peformRouteAction = (pathname) => {
const route = stripTrailingSlash(pathname);
switch (route) {
case '/': {
case '': {
A('#content-container').load('/pages/home.html');
break;
}