Skip to content

Commit

Permalink
Change queried port
Browse files Browse the repository at this point in the history
  • Loading branch information
alemalvarez committed Apr 1, 2024
1 parent 86ad654 commit fe5487e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function App() {
try {
console.log('Submitting form...');

const response = await fetch('http://localhost:8000/response/', {
const response = await fetch('http://localhost/response/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down Expand Up @@ -77,7 +77,7 @@ function App() {
try {
console.log('Sending GET request...');

const response = await fetch('http://localhost:8000/response/');
const response = await fetch('http://localhost/response/');
console.log('Response received:', response);

const data = await response.json();
Expand Down

0 comments on commit fe5487e

Please sign in to comment.