aboutsummaryrefslogtreecommitdiff
path: root/part2/phonebook/src/services/persons.js
diff options
context:
space:
mode:
Diffstat (limited to 'part2/phonebook/src/services/persons.js')
-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 d9bdbe5..9e7d2ba 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/api/persons'
+const baseUrl = '/api/persons'
const getAll = () => {
return axios.get(baseUrl)