Fix: default page
This commit is contained in:
parent
f056f1e2ac
commit
4cd3402f9d
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ $(document).ready(() => {
|
||||||
console.log("pathname: ", path);
|
console.log("pathname: ", path);
|
||||||
|
|
||||||
if(path === "/" || path === "" || path === "/index.html"){
|
if(path === "/" || path === "" || path === "/index.html"){
|
||||||
path = "/projects";
|
path = "/home";
|
||||||
// path = "/home";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setPage(path);
|
setPage(path);
|
||||||
|
|
Loading…
Add table
Reference in a new issue