Skip to content

Commit

Permalink
Merge pull request #166 from Arquisoft/develop
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
paulasuarezp authored Apr 30, 2023
2 parents 243deb1 + 67908e0 commit 7fed10b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export async function signup(user: User): Promise<User> {
}

export async function login(user: User): Promise<User> {
const apiEndPoint = process.env.REACT_APP_API_URI || 'http://localhost:5000/api'
const apiEndPoint = 'http://20.169.248.119:5000/api' || process.env.REACT_APP_API_URI || 'http://localhost:5000/api'

console.log(apiEndPoint)
let response = await fetch(apiEndPoint + '/sesionmanager/login', {
method: 'POST',
Expand Down

0 comments on commit 7fed10b

Please sign in to comment.