Skip to content

Commit 84b84b6

Browse files
authored
fix: docs GQL_HOST (#704)
1 parent 36ea997 commit 84b84b6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/content/1.getting-started/1.quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

docs/content/2.advanced/1.authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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>',

docs/content/2.advanced/2.multiple-clients.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)