diff --git a/src/network/personService.js b/src/network/personService.js index 875ea09..0dd2e08 100644 --- a/src/network/personService.js +++ b/src/network/personService.js @@ -1,5 +1,5 @@ import axios from 'axios' -const baseUrl = 'http://localhost:3001/persons' +const baseUrl = '/api/persons' const getAll = () => { const request = axios.get(baseUrl)