Skip to content

Commit

Permalink
uri not url
Browse files Browse the repository at this point in the history
  • Loading branch information
maka-io authored May 23, 2019
1 parent 482796a commit 62dd1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export function initialize(config = {}) {
let terminatingLink;

// Allow GRAPHQL_ENDPOINT to be changed
if (config.httpLinkOptions && !config.httpLinkOptions.url) {
config.httpLinkOptions.url = GRAPHQL_ENDPOINT;
if (config.httpLinkOptions && !config.httpLinkOptions.uri) {
config.httpLinkOptions.uri = GRAPHQL_ENDPOINT;
}

// We define the HTTP Link
Expand Down

0 comments on commit 62dd1b7

Please sign in to comment.