Skip to content

Commit

Permalink
Update the baseUrl
Browse files Browse the repository at this point in the history
NOTE: This is done to accommodate part 3. It will break the frontend
of part 2!
  • Loading branch information
Zacharias Levander committed Dec 12, 2020
1 parent 779c875 commit 111d76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/personService.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 111d76c

Please sign in to comment.