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:
isUnknown 2025-06-03 11:29:18 +02:00
parent e6a27cdf0f
commit 5b98343e84

View file

@ -0,0 +1,5 @@
document.addEventListener("DOMContentLoaded", () => {
if (location.pathname === "/panel/site") {
location.href = "/panel/pages/projects";
}
});