Skip to content

Commit

Permalink
http -> https
Browse files Browse the repository at this point in the history
  • Loading branch information
ejhon1116 committed Nov 7, 2024
1 parent d73e5f2 commit e64accb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pc-parts/part_fetch_show.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Fetch items from the API
async function fetchItems() {
try {
const response = await fetch('http://18.191.202.110:8000/api/parts');
const response = await fetch('https://18.191.202.110:8000/api/parts');
const items = await response.json();
return items;
} catch (error) {
Expand Down

0 comments on commit e64accb

Please sign in to comment.