Closed Hamza-Liaqat1 closed 2 years ago
I have this configuration in my gaysby-config.js
{ resolve: `gatsby-source-strapi`, options: { apiURL: `https://my-strapi.herokuapp.com`, accessToken: process.env.accessToken, queryLimit: 1000, // Default to 100 collectionTypes: ["blog"], singleTypes: [ { name: 'homepage', api: { qs: { _locale: `all` } } } ], }, },
Throwing this error below Failed to fetch data from Strapi /api/undefined Request failed with status code 404
I have this configuration in my gaysby-config.js
Throwing this error below Failed to fetch data from Strapi /api/undefined Request failed with status code 404