diff --git a/gatewayservice/Dockerfile b/gatewayservice/Dockerfile index 6c340432..7c030c37 100644 --- a/gatewayservice/Dockerfile +++ b/gatewayservice/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/gatewayservice COPY package*.json ./ # Install app dependencies -RUN npm install +RUN npm install --ignore-scripts # Copy the app source code to the working directory COPY . . diff --git a/gatewayservice/gateway-service.js b/gatewayservice/gateway-service.js index 5f469303..30771bb7 100644 --- a/gatewayservice/gateway-service.js +++ b/gatewayservice/gateway-service.js @@ -9,7 +9,7 @@ const YAML = require('yaml') const app = express(); -app.disable('x-powerde-by'); +app.disable('x-powered-by'); const port = 8000; const originEndpoint = process.env.REACT_APP_API_ORIGIN_ENDPOINT || 'http://localhost:3000'; diff --git a/questions/creationservice/Dockerfile b/questions/creationservice/Dockerfile index af3648d2..8c20d4f8 100644 --- a/questions/creationservice/Dockerfile +++ b/questions/creationservice/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/creationservice COPY package*.json ./ # Install app dependencies -RUN npm install +RUN npm install --ignore-scripts # Copy the app source code to the working directory COPY . . diff --git a/questions/retrieveservice/Dockerfile b/questions/retrieveservice/Dockerfile index 838d0d31..426b235b 100644 --- a/questions/retrieveservice/Dockerfile +++ b/questions/retrieveservice/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/retrieveservice COPY package*.json ./ # Install app dependencies -RUN npm install +RUN npm install --ignore-scripts # Copy the app source code to the working directory COPY . . diff --git a/users/authservice/Dockerfile b/users/authservice/Dockerfile index 70648d70..af171fc5 100644 --- a/users/authservice/Dockerfile +++ b/users/authservice/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/authservice COPY package*.json ./ # Install app dependencies -RUN npm install +RUN npm install --ignore-scripts # Copy the app source code to the working directory COPY . . diff --git a/users/userservice/Dockerfile b/users/userservice/Dockerfile index f43e2df7..f54225c9 100644 --- a/users/userservice/Dockerfile +++ b/users/userservice/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/userservice COPY package*.json ./ # Install app dependencies -RUN npm install +RUN npm install --ignore-scripts # Copy the app source code to the working directory COPY . . diff --git a/webapp/src/components/HistoricalData.js b/webapp/src/components/HistoricalData.js index 654b1deb..fc6eaaa3 100644 --- a/webapp/src/components/HistoricalData.js +++ b/webapp/src/components/HistoricalData.js @@ -1,6 +1,6 @@ import axios from 'axios'; import React, { useState, useEffect } from 'react'; -import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Container, TablePagination, Typography, Snackbar } from '@mui/material'; +import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Container, TablePagination, Typography } from '@mui/material'; import './HistoricalData.css'; import Navbar from './Navbar'; @@ -13,6 +13,7 @@ const HistoricalData = () => { useEffect(() => { handleShowHistory(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); // No es necesario deshabilitar eslint, ya que no hay dependencias externas const handleShowHistory = async () => {