We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a706473 commit 1f077aaCopy full SHA for 1f077aa
src/pages/ProductsPage.vue
@@ -17,8 +17,8 @@ import ProductCard from '../components/ProductCard.vue'
17
const products = ref([])
18
19
onMounted(async () => {
20
- // const baseUrl = 'https://vue-store-pinia.onrender.com';
21
- const baseUrl = 'http://localhost:8000';
+ const baseUrl = 'https://vue-store-pinia.onrender.com';
+ // const baseUrl = 'http://localhost:8000';
22
const response = await fetch(`${baseUrl}/products`);
23
const data = await response.json();
24
products.value = data.map(product => ({
0 commit comments