Skip to content

Commit

Permalink
Cambios
Browse files Browse the repository at this point in the history
  • Loading branch information
uo277310 committed May 1, 2024
1 parent 01169ba commit 362b083
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ const genQuestServiceUrl = process.env.GEN_SERVICE_URL || 'http://localhost:8003
const rankingServiceUrl = process.env.RANK_SERVICE_URL || 'http://localhost:8004';
const questiongeneratorserviceUrl = process.env.QTEST_SERVICE_URL || 'http://localhost:8007';

const devUrl = 'http://localhost';
const prodUrl = 'http://51.142.17.139';

const corsOptions = {
origin: ['http://localhost', 'http://51.142.17.139'],
origin: [devUrl, prodUrl],
optionsSuccessStatus: 200
}

Expand Down

0 comments on commit 362b083

Please sign in to comment.