Skip to content

Commit

Permalink
Try absolute URI
Browse files Browse the repository at this point in the history
  • Loading branch information
alemalvarez committed Apr 1, 2024
1 parent 619825d commit 25731d0
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('/response', {
const response = await fetch('https://chunkify.azurewebsites.net/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('/response');
const response = await fetch('https://chunkify.azurewebsites.net/response');
console.log('Response received:', response);

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

0 comments on commit 25731d0

Please sign in to comment.