diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-05-10 21:51:48 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-05-10 21:51:48 -0400 |
commit | 0adbbd60d72b549adbbb45e9f9cf9e4f56cc18e7 (patch) | |
tree | 7e44d27e4714c5c396240767d937e7a48e1c844c /part2 | |
parent | d49ab50cbfc7e11a9a080d82eed5dc23228ac384 (diff) |
ex3.9 URL change to reflect express backend new home
Diffstat (limited to 'part2')
-rw-r--r-- | part2/phonebook/src/services/persons.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/part2/phonebook/src/services/persons.js b/part2/phonebook/src/services/persons.js index 1da7de4..d9bdbe5 100644 --- a/part2/phonebook/src/services/persons.js +++ b/part2/phonebook/src/services/persons.js @@ -1,5 +1,5 @@ import axios from 'axios' -const baseUrl = 'http://localhost:3001/persons' +const baseUrl = 'http://localhost:3001/api/persons' const getAll = () => { return axios.get(baseUrl) |