Skip to content

Commit

Permalink
Update AddItems.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 authored Oct 28, 2023
1 parent a87bf7b commit 1c1ae33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/AddItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function AddItems({setItems}) {
ev.preventDefault();

try {//51.20.76.107
const response = await axios.post("http://18.61.66.218:5000/api/add/item", { name: name });
const response = await axios.post("http://18.61.66.218/api/add/item", { name: name });
setname("");
setItems((prv)=>[...prv,response.data.item])
} catch (error) {
Expand Down

0 comments on commit 1c1ae33

Please sign in to comment.