routing : remove panel.js and its redirections

This commit is contained in:
isUnknown 2025-09-03 17:44:23 +02:00
parent 64589d8267
commit 603700cd98
2 changed files with 0 additions and 10 deletions

View file

@ -1,9 +0,0 @@
document.addEventListener("DOMContentLoaded", () => {
if (location.pathname === "/panel/site") {
location.href = "/panel/pages/projects";
}
if (location.origin.includes("goguely")) {
location.href =
"https://designtopack.morphozbygroupepochet.com" + location.pathname;
}
});

View file

@ -23,7 +23,6 @@ return [
'panel' => [
'language' => 'fr',
'css' => 'assets/css/panel.css',
'js' => 'assets/js/panel.js',
'favicon' => 'favicon.svg',
'menu' => require(__DIR__ . '/menu.php'),
],