From 62dd1b70c3c9db121473c99b54b230f9fd1c2418 Mon Sep 17 00:00:00 2001 From: Matt Campbell Date: Thu, 23 May 2019 09:53:40 -0400 Subject: [PATCH] uri not url --- client/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/index.js b/client/index.js index c2becc1..a07b769 100644 --- a/client/index.js +++ b/client/index.js @@ -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