Modified Frontend for it to use new endpoints
This commit is contained in:
@@ -38,7 +38,7 @@ const SideMenu = ({ isOpen, onClose }) => {
|
||||
if (configError) return <p>Error al cargar configuración: {configError}</p>;
|
||||
if (!config) return <p>Configuración no disponible.</p>;
|
||||
|
||||
const BASE = config.appConfig.endpoints.BASE_URL;
|
||||
const BASE = config.appConfig.endpoints.DATA_URL;
|
||||
const ENDPOINT = config.appConfig.endpoints.GET_DEVICES;
|
||||
|
||||
const reqConfig = {
|
||||
|
||||
Reference in New Issue
Block a user