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.
Uncaught ReferenceError: fetcher is not defined
1 parent 89ab920 commit 2ebe7c4Copy full SHA for 2ebe7c4
CHANGELOG.md
@@ -9,6 +9,12 @@ See [GitHub releases](https://github.com/mll-lab/laravel-graphiql/releases).
9
10
## Unreleased
11
12
+## v4.0.1
13
+
14
+### Fixed
15
16
+- Fix `Uncaught ReferenceError: fetcher is not defined` error
17
18
## v4.0.0
19
20
### Changed
views/index.blade.php
@@ -42,6 +42,10 @@
42
<script src="{{ GraphiQLAsset::graphiQLJS() }}"></script>
43
<script src="{{ GraphiQLAsset::pluginExplorerJS() }}"></script>
44
<script>
45
+ const fetcher = GraphiQL.createFetcher({
46
+ url: '{{ $url }}',
47
+ subscriptionUrl: '{{ $subscriptionUrl }}',
48
+ });
49
const explorer = GraphiQLPluginExplorer.explorerPlugin();
50
51
function GraphiQLWithExplorer() {
0 commit comments