File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: 'Learn how to use nuxt-graphql-client module in your Nuxt 3 applica
55
66# Quick Start
77
8- Get started by creating a quick demo with the [ SpaceX GraphQL API] ( https://api. spacex.land/graphql ) .
8+ Get started by creating a quick demo with the [ SpaceX GraphQL API] ( https://spacex-production.up.railway.app/ ) .
99
1010## Setup
1111
@@ -39,13 +39,13 @@ export default defineNuxtConfig({
3939
4040 runtimeConfig: {
4141 public: {
42- GQL_HOST: ' https://api. spacex.land/graphql ' // overwritten by process.env.GQL_HOST
42+ GQL_HOST: ' https://spacex-production.up.railway.app/ ' // overwritten by process.env.GQL_HOST
4343 }
4444 }
4545})
4646```
4747``` bash [.env]
48- GQL_HOST=" https://api. spacex.land/graphql "
48+ GQL_HOST=" https://spacex-production.up.railway.app/ "
4949```
5050::
5151
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export default defineNuxtConfig({
153153 public: {
154154 ' graphql-client' : {
155155 clients: {
156- default: ' https://api. spacex.land/graphql ' , // overwritten by process.env.GQL_HOST
156+ default: ' https://spacex-production.up.railway.app/ ' , // overwritten by process.env.GQL_HOST
157157 shopify: {
158158 host: ' ' , // overwritten by process.env.GQL_SHOPIFY_HOST
159159 token: {
@@ -185,7 +185,7 @@ export default defineNuxtConfig({
185185 public: {
186186 ' graphql-client' : {
187187 clients: {
188- default: ' https://api. spacex.land/graphql ' ,
188+ default: ' https://spacex-production.up.railway.app/ ' ,
189189 github: {
190190 host: ' https://api.github.com/graphql' ,
191191 token: ' <your-github-token>' // overwritten by process.env.GQL_GITHUB_TOKEN
@@ -218,7 +218,7 @@ export default defineNuxtConfig({
218218 public: {
219219 ' graphql-client' : {
220220 clients: {
221- default: ' https://api. spacex.land/graphql ' ,
221+ default: ' https://spacex-production.up.railway.app/ ' ,
222222 github: {
223223 host: ' https://api.github.com/graphql' ,
224224 token: ' <your-github-token>' ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default defineNuxtConfig({
4141 public: {
4242 ' graphql-client' : {
4343 clients: {
44- default: ' https://api. spacex.land/graphql ' , // process.env.GQL_HOST
44+ default: ' https://spacex-production.up.railway.app/ ' , // process.env.GQL_HOST
4545 github: {
4646 host: ' https://api.github.com/graphql' , // process.env.GQL_GITHUB_HOST
4747 token: ' your_access_token' , // process.env.GQL_GITHUB_TOKEN & process.env.GQL_GITHUB_TOKEN_NAME
You can’t perform that action at this time.
0 commit comments