mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
commit
dbbd77572b
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Changelog
|
||||
|
||||
### VNEXT
|
||||
|
||||
* Fix graphiql's client to use parameter endpointURL instead of hardcoded.
|
||||
|
||||
|
||||
### v0.7.0
|
||||
|
|
|
@ -121,7 +121,7 @@ export function renderGraphiQL(data: GraphiQLData): string {
|
|||
|
||||
// Defines a GraphQL fetcher using the fetch API.
|
||||
function graphQLFetcher(graphQLParams) {
|
||||
return fetch('/graphql', {
|
||||
return fetch(fetchURL, {
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
|
|
Loading…
Add table
Reference in a new issue