diff --git a/gatewayservice/gateway-service.js b/gatewayservice/gateway-service.js index 935e276a..6a7b4ca0 100644 --- a/gatewayservice/gateway-service.js +++ b/gatewayservice/gateway-service.js @@ -8,6 +8,7 @@ const fs = require("fs") const YAML = require('yaml') const app = express(); +app.disable("x-powered-by"); const port = 8000; const authServiceUrl = process.env.AUTH_SERVICE_URL || 'http://localhost:8002'; diff --git a/webapp/src/components/Game.js b/webapp/src/components/Game.js index 07abcce7..762ed670 100644 --- a/webapp/src/components/Game.js +++ b/webapp/src/components/Game.js @@ -184,7 +184,7 @@ const Game = ({ username, totalQuestions, timeLimit, themes }) => { })(); setAlmacenado(true); } - }, [timer, numberClics, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError]); + }, [timer, numberClics, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError, themes, setThemesSelected]); if(isNaN(totalQuestions)){ totalQuestions=10;