Skip to content

Commit

Permalink
Configuration to deploy to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanehab98 committed Jan 1, 2023
1 parent cfa00c2 commit 46c4b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CreateProduct/CreateProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function CreateProduct() {
return true
});
if (valid) {
axios.post('https://scandiweb-task-marwan-elsheikh.000webhostapp.com//save', product).then(function (response) {
axios.post('https://scandiweb-task-marwan-elsheikh.000webhostapp.com/', product).then(function (response) {
console.log(response.data);
if (response.data.status === '200') {
navigate('/');
Expand Down

0 comments on commit 46c4b35

Please sign in to comment.