Skip to content

Commit 240dbf0

Browse files
authored
Make API calls to mockable through https
1 parent 3fa973e commit 240dbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/requestLibraryActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const receiveLibrary = (items) => {
2828
const fetchLibrary = (id) => {
2929
return dispatch => {
3030
dispatch(requestLibrary())
31-
return fetch(`http://demo5895613.mockable.io/library/js/${id}`)
31+
return fetch(`https://demo5895613.mockable.io/library/js/${id}`)
3232
.then(response => response.json())
3333
.then(items => dispatch(receiveLibrary(items)))
3434
}

0 commit comments

Comments
 (0)