Skip to content

Commit

Permalink
log api_uri y puesto en docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago21112001 committed Mar 11, 2024
1 parent 9d439f7 commit 178d339
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
teamname="wiq_es04c"
API_URI="172.167.244.198"
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ services:
depends_on:
- gatewayservice
ports:
- "3000:3000"
- "3000:3000"
environment:
- API_URI=${API_URI}

prometheus:
image: prom/prometheus
Expand Down
1 change: 1 addition & 0 deletions webapp/src/components/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const Login = () => {

const loginUser = async () => {
try {
console.log("ApiEndpoint al hacer login es: "+apiEndpoint)
const response = await axios.post(`${apiEndpoint}/login`, { username, password });

// Extract data from the response
Expand Down

0 comments on commit 178d339

Please sign in to comment.