diff --git a/gateways/hive-gateway/install.sh b/gateways/hive-gateway/install.sh index 6e2ea3b..aa4b284 100755 --- a/gateways/hive-gateway/install.sh +++ b/gateways/hive-gateway/install.sh @@ -1,2 +1,2 @@ # It's just to install dependencies and make it ready for `run.sh` script -npx --yes @graphql-hive/gateway@0.1.4 --version \ No newline at end of file +curl -sSL https://graphql-hive.com/install-gateway.sh | sh \ No newline at end of file diff --git a/gateways/hive-gateway/run.sh b/gateways/hive-gateway/run.sh index 29d3b12..f4bbc2b 100755 --- a/gateways/hive-gateway/run.sh +++ b/gateways/hive-gateway/run.sh @@ -1,2 +1,2 @@ npm start supergraph -- --cwd ./gateways/hive-gateway --test $1 -npx --yes @graphql-hive/gateway@0.1.4 supergraph supergraph.graphql --port 4000 --fork 1 +./hive-gateway supergraph supergraph.graphql --port 4000 --fork 1