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 fc0ebfc commit 377dfbf
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/api/add/item", { name: name });
const response = await axios.post("http://www.luxshanthavarasa.bio/api/add/item", { name: name });
setname("");
setItems((prv)=>[...prv,response.data.item])
} catch (error) {
Expand Down

0 comments on commit 377dfbf

Please sign in to comment.