We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0800d commit d24dac9Copy full SHA for d24dac9
assets/js/shop.js
@@ -27,7 +27,9 @@ class ProductStore {
27
async fetchProducts() {
28
try {
29
30
- const response = await fetch('/assets/data/merchandises.json');
+ // const response = await fetch('/assets/data/merchandises.json');
31
+ const response = await fetch('https://pytogo-org.github.io/pytogo/assets/data/merchandises.json');
32
+
33
if (!response.ok) {
34
throw new Error('Error fetching products');
35
}
0 commit comments