This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 MiB |
BIN
webseite/frontend/assets/img/header-image.webp
Normal file
BIN
webseite/frontend/assets/img/header-image.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
@@ -5256,7 +5256,7 @@
|
||||
};
|
||||
const fetchProducts = async () => {
|
||||
try {
|
||||
const response = await fetch("/data/products.json");
|
||||
const response = await fetch("http://127.0.0.1:8000/api/products");
|
||||
if (!response.ok) {
|
||||
throw new Error("Fetch went wrong.");
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user