From 2e3fe29078b3031122a7fe331e5d244fe1ed9502 Mon Sep 17 00:00:00 2001 From: Angie Date: Wed, 6 Aug 2025 19:30:21 +0200 Subject: [PATCH] wip: local changes --- frontend/api.js | 2 +- frontend/script.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/api.js b/frontend/api.js index 9761399..0ad138a 100644 --- a/frontend/api.js +++ b/frontend/api.js @@ -2,7 +2,7 @@ const API_BASE_URL = "http://195.209.214.159/api"; //API local -//const API_BASE_URL = "http://localhost:3001/api"; +// const API_BASE_URL = "http://localhost:3001/api"; //SHARED diff --git a/frontend/script.js b/frontend/script.js index f69de3f..1b58b1f 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -244,9 +244,9 @@ function logout() { appState.storesList = []; appState.reportsList = []; - database.users = []; - database.reports = []; - database.stores = []; + // database.users = []; + // database.reports = []; + // database.stores = []; // Remove all admin tab event listeners by replacing each node document.querySelectorAll(".admin-tab-btn").forEach((btn) => {