We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 465a1f0 commit f104c28Copy full SHA for f104c28
src/shared/services/contentful.js
@@ -246,7 +246,9 @@ class Service {
246
url += this.private.preview ? '/preview' : '/published';
247
url += '/entries';
248
if (query) url += `?${qs.stringify(query)}`;
249
- const res = await fetch(url);
+ const res = await fetch(url, {
250
+ credentials: 'omit',
251
+ });
252
if (!res.ok) {
253
const error = new Error('Failed to get entries.');
254
logger.error(error);
0 commit comments