fix: change hardcoded axios url

This commit is contained in:
Nikita Kiselev
2025-07-10 20:58:03 +03:00
parent bbf2b9e294
commit 4bb983e4af
2 changed files with 10 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ import {onMounted, ref} from "vue";
const products = ref([]);
onMounted(async () => {
const {data} = await $fetch('http://localhost:8000/index.php?route=tgshop/handle&api_action=products');
const {data} = await $fetch('https://ocstore.nikitakiselev.ru/index.php?route=extension/tgshop/handle&api_action=products');
products.value = data;
});
</script>