aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)