aboutsummaryrefslogtreecommitdiff
path: root/part2
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-05-10 21:51:48 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-05-10 21:51:48 -0400
commit0adbbd60d72b549adbbb45e9f9cf9e4f56cc18e7 (patch)
tree7e44d27e4714c5c396240767d937e7a48e1c844c /part2
parentd49ab50cbfc7e11a9a080d82eed5dc23228ac384 (diff)
ex3.9 URL change to reflect express backend new home
Diffstat (limited to 'part2')
-rw-r--r--part2/phonebook/src/services/persons.js2
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)