From de3e0dc7ad11141562e47ebe07265ccb2e7c2afd Mon Sep 17 00:00:00 2001 From: Stefano Cislaghi Date: Mon, 4 Sep 2023 17:17:54 +0100 Subject: [PATCH 1/2] fix: hapi --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 366deb60..945c413b 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,10 @@ app.listen(3001); ### Hapi -#### Version 17+ +#### Version 20+ ```js -import hapi from 'hapi'; +import Hapi from '@hapi/hapi'; import { hapi as voyagerMiddleware } from 'graphql-voyager/middleware'; const server = new Hapi.Server({ From 9c405f5eab83f9b5deec416b971ef63eff557d68 Mon Sep 17 00:00:00 2001 From: Stefano Cislaghi Date: Mon, 4 Sep 2023 17:18:05 +0100 Subject: [PATCH 2/2] fix: renderVoyager --- example/cdn/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example/cdn/index.html b/example/cdn/index.html index dc304a26..bb4bd1dc 100644 --- a/example/cdn/index.html +++ b/example/cdn/index.html @@ -8,6 +8,7 @@ width: 100%; overflow: hidden; } + #voyager { height: 100vh; } @@ -24,10 +25,11 @@ /> +
Loading...