Skip to content

Commit

Permalink
Update App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zyue110026 authored Feb 14, 2022
1 parent faba557 commit d0881d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useStoreActions } from 'easy-peasy';
function App() {
const setPosts = useStoreActions((actions) => actions.setPosts);

const { data, fetchError, isLoading } = useAxiosFetch('https://localhost:3500/posts');
const { data, fetchError, isLoading } = useAxiosFetch('http://localhost:3500/posts');

useEffect(() => {
setPosts(data);
Expand Down

0 comments on commit d0881d7

Please sign in to comment.