File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## Unreleased
99
10+ ## 1.0.2
11+
12+ ### Fixed
13+
14+ - Do not wrap endpoint in ` url() ` unnecessarily
15+
1016## 1.0.1
1117
1218### Fixed
Original file line number Diff line number Diff line change 3535
3636<div id =" voyager" >Loading...</div >
3737<script type =" text/javascript" >
38- const url = <?php $endpoint = config (' graphql-voyager.endpoint' );
39- echo is_string ($endpoint )
40- ? " '" . url ( $endpoint ) . " '"
41- : ' null' ; ? >
38+ const endpoint = <?php $endpoint = config (' graphql-voyager.endpoint' );
39+ echo is_string ($endpoint )
40+ ? " '" . $endpoint . " '"
41+ : ' null' ; ? >
4242
43- const introspectionProvider = url
43+ const introspectionProvider = endpoint
4444 ? function introspectionProvider (introspectionQuery ) {
45- return fetch (' {{ url ( config ( ' graphql-voyager. endpoint' )) } } ' , {
45+ return fetch (endpoint, {
4646 method: ' post' ,
4747 headers: {
4848 Accept: ' application/json' ,
You can’t perform that action at this time.
0 commit comments