Actualizar panel.html

This commit is contained in:
2026-04-04 17:23:56 +00:00
parent 895e936040
commit c393adcba3

View File

@@ -194,10 +194,6 @@
<script src="js/layout.js"></script> <script src="js/layout.js"></script>
<script> <script>
const API_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
? 'http://localhost:3000'
: 'https://integrarepara-api.integrarepara.es';
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {
const token = localStorage.getItem("token"); const token = localStorage.getItem("token");
if(!token) window.location.href = "index.html"; if(!token) window.location.href = "index.html";