Skip to content

Commit

Permalink
Prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia authored and actions-user committed Apr 13, 2023
1 parent 80a93fe commit 9dfd1b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ Add extra settings in the call to `React.createElement(GraphiQL, {})` in the pub

```js
React.createElement(GraphiQL, {
fetcher: GraphiQL.createFetcher({
url: '{{ $url }}',
subscriptionUrl: '{{ $subscriptionUrl }}',
}),
// See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props for available settings
})
fetcher: GraphiQL.createFetcher({
url: "{{ $url }}",
subscriptionUrl: "{{ $subscriptionUrl }}",
}),
// See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props for available settings
});
```

### Configure session authentication
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Instead of the configuration option `route`, the configuration file now expects
that defines any number of routes, see https://github.com/mll-lab/laravel-graphiql/pull/14/files#diff-1c777d8014cec320798bb3882fc51a53b38ba3426d07c1ba77b8b8f33bb062a0.

The view can now be rendered from different routes which have different endpoints assigned to them.
Use the provided variables `$url` and `$subscriptionUrl` instead of accessing the configuration directly, see
Use the provided variables `$url` and `$subscriptionUrl` instead of accessing the configuration directly, see

0 comments on commit 9dfd1b6

Please sign in to comment.