fix whoopsie where i didnt account for the fact the the leading slash is trimmed
This commit is contained in:
parent
84ef1efaac
commit
479f6119b4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const peformRouteAction = (pathname) => {
|
||||||
const route = stripTrailingSlash(pathname);
|
const route = stripTrailingSlash(pathname);
|
||||||
|
|
||||||
switch (route) {
|
switch (route) {
|
||||||
case '/': {
|
case '': {
|
||||||
A('#content-container').load('/pages/home.html');
|
A('#content-container').load('/pages/home.html');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue