You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

strapi.ts 223B

2 jaren geleden
12345678
  1. export const fetchGuiters = async () => {
  2. const response = await fetch(
  3. `${process.env.NEXT_PUBLIC_STRAPI_URL}/api/guiters?populate=*`
  4. )
  5. const jsonResponse = await response.json()
  6. return jsonResponse
  7. }