Skip to content

Commit 53f5e38

Browse files
author
pranit ingole
committed
error solve
1 parent 2fe8cb2 commit 53f5e38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
const fetchUsers = async () =>
3-
// await (await fetch('/.netlify/functions/getusers')).json();
4-
await (await fetch('http://localhost:9000/getusers')).json();
3+
await (await fetch('/.netlify/functions/getusers')).json();
4+
// await (await fetch('http://localhost:9000/getusers')).json();
55
fetchUsers().then(data => {
66
userList = document.querySelector('#users');
77

0 commit comments

Comments
 (0)