Skip to content

Commit

Permalink
fix baseURL in editCategory
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Nov 27, 2023
1 parent 3d73485 commit 5dd3615
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
}
await axios({
method: 'post',
url: this.baseURL+"category/update/"+this.id,
//url: this.baseURL+"category/update/"+this.id,
url: "http://localhost:9999/"+"category/update/"+this.id,
data : JSON.stringify(updatedCategory),
headers: {
'Content-Type': 'application/json'
Expand Down

0 comments on commit 5dd3615

Please sign in to comment.