Skip to content

Commit

Permalink
Solucionado error endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289337 committed Apr 28, 2024
1 parent 9f25eb3 commit 82304bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const allUsersServiceUrl = process.env.ALLUSERS_SERVICE_URL || 'http://localhost
const allQuestionsServiceUrl = process.env.ALLQUESTIONS_SERVICE_URL || 'http://localhost:8007';

const corsOptions = {
origin: `${apiEndpoint}`,
origin: `${originEndpoint}`,
methods: ['GET', 'POST'],
allowedHeaders: ['Content-Type', 'Authorization']
};
Expand Down

0 comments on commit 82304bd

Please sign in to comment.