Actualizar contabilidad.html
This commit is contained in:
@@ -72,9 +72,17 @@
|
||||
|
||||
<script src="js/layout.js"></script>
|
||||
<script>
|
||||
const API_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
|
||||
? 'http://localhost:3000'
|
||||
: 'https://integrarepara-api.integrarepara.es';
|
||||
<script src="js/layout.js"></script>
|
||||
<script>
|
||||
let financials = [];
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
if (!localStorage.getItem("token")) window.location.href = "index.html";
|
||||
setTimeout(loadFinancials, 200);
|
||||
});
|
||||
|
||||
async function loadFinancials() {
|
||||
// ... resto del código ...
|
||||
|
||||
let financials = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user