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 8fb4cb3 commit f7bb0e6Copy full SHA for f7bb0e6
js/src/index.js
@@ -10,7 +10,7 @@ function boot() {
10
ReactDOM.render(<GraphiQL fetcher={graphQLFetcher} />, document.getElementById('graphqleditor'));
11
12
function graphQLFetcher(graphQLParams) {
13
- return fetch(Drupal.settings.basePath + 'graphql', {
+ return fetch(Drupal.settings.basePath + Drupal.settings.pathPrefix + 'graphql', {
14
credentials: 'include',
15
method: 'post',
16
headers: { 'Content-Type': 'application/json' },
0 commit comments