diff --git a/src/GraphiQLController.php b/src/GraphiQLController.php index 04e147c..f6be0cc 100755 --- a/src/GraphiQLController.php +++ b/src/GraphiQLController.php @@ -33,8 +33,8 @@ public function __invoke(ConfigRepository $config, Request $request): View assert(is_array($routeConfig)); return $this->viewFactory->make('graphiql::index', [ - 'endpoint' => $this->maybeURL($routeConfig['endpoint'] ?? null), - 'subscription-endpoint' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null), + 'url' => $this->maybeURL($routeConfig['endpoint'] ?? null), + 'subscriptionUrl' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null), ]); }