panel : fix project creation at root level instead of projects page by adding a redirection from /panel/site to /panel/pages/projects
This commit is contained in:
parent
e6a27cdf0f
commit
5b98343e84
1 changed files with 5 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
||||||
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
|
if (location.pathname === "/panel/site") {
|
||||||
|
location.href = "/panel/pages/projects";
|
||||||
|
}
|
||||||
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue