Fix: default page
This commit is contained in:
parent
f056f1e2ac
commit
4cd3402f9d
@ -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…
Reference in New Issue
Block a user