Skip to content

Commit

Permalink
arreglar los test unitarios
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Feb 29, 2024
1 parent 9d6982a commit 33c3ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/AddUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useState } from 'react';
import axios from 'axios';
import { Container, Typography, TextField, Button, Snackbar } from '@mui/material';

const apiEndpoint = process.env.API_URI || 'http://error no se cargo bien la apiURI de docker';
const apiEndpoint = process.env.API_URI || 'http://localhost:8000';

const AddUser = () => {
const [username, setUsername] = useState('');
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Login = () => {
const [createdAt, setCreatedAt] = useState('');
const [openSnackbar, setOpenSnackbar] = useState(false);

const apiEndpoint = process.env.API_URI ||'http://Error no se cargo bien la apiURI de docker';
const apiEndpoint = process.env.API_URI ||'http://localhost:8000';

const loginUser = async () => {
try {
Expand Down

0 comments on commit 33c3ed7

Please sign in to comment.