shop
This commit is contained in:
@ -4,7 +4,7 @@ export const useProductStore = defineStore("productStore", () => {
|
||||
async function getList(count: number, categoryId = 1) {
|
||||
try {
|
||||
const res = await fetch(
|
||||
`http://127.0.0.1:4000/api/public/products/category/${categoryId}?p=1&elems=${count}`,
|
||||
`/api/public/products/category/${categoryId}?p=1&elems=${count}`,
|
||||
{
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
Reference in New Issue
Block a user