Skip to content

Commit

Permalink
Merge pull request #180 from Arquisoft/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
baraganio authored Apr 28, 2024
2 parents b9c721c + cf2c292 commit b79f872
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gatewayservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion questions/creationservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion questions/retrieveservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion users/authservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion users/userservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
3 changes: 2 additions & 1 deletion webapp/src/components/HistoricalData.js
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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 () => {
Expand Down

0 comments on commit b79f872

Please sign in to comment.