Skip to content

Commit

Permalink
Update Hello.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya4242 authored Mar 27, 2024
1 parent d8608fb commit b799687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/Hello.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Hello = () => {

const sum = async () => {
try {
const response = await fetch('http://3.110.207.104:5000/addx',{
const response = await fetch('http://3.110.207.104:5000/add',{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"num1": Number(num1), "num2": Number(num2)})
Expand Down

0 comments on commit b799687

Please sign in to comment.