We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd326f commit 83d2884Copy full SHA for 83d2884
templates/react-common/utils/fetch.js
@@ -1,9 +1,9 @@
1
import { SubmissionError } from 'redux-form';
2
-import { API_HOST, API_PATH } from './_entrypoint';
+import { API_HOST, API_PATH } from '../config/_entrypoint';
3
4
const jsonLdMimeType = 'application/ld+json';
5
6
-export default function fetch(url, options = {}) {
+export default function (url, options = {}) {
7
if ('undefined' === typeof options.headers) options.headers = new Headers();
8
if (null === options.headers.get('Accept')) options.headers.set('Accept', jsonLdMimeType);
9
0 commit comments