Skip to content

Commit f70286c

Browse files
vitalybaevjanicklas-ralph
authored andcommitted
(examples/with-urql): fixes graphql server url (vercel#25987)
## Documentation / Examples - [x] Make sure the linting passes As mentioned in vercel#25854 `with-urql` doesn't work. After investigation, I've found that Pokémon GraphQL server located at `https://graphql-pokemon.vercel.app` is down. After some research I came across its repository and this [pull request](lucasbento/graphql-pokemon#14). That pull request provides new URL `https://graphql-pokemon2.vercel.app` which seems to work. I don't know the status of this server, maybe @leerob can confirm this PR is ok.
1 parent 3ed64fa commit f70286c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/with-urql/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Use [urql](https://github.com/FormidableLabs/urql) with Next.js using SSG.
44

5+
## Preview
6+
7+
Preview the example live on [StackBlitz](http://stackblitz.com/):
8+
9+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-urql)
10+
511
## Deploy your own
612

713
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):

examples/with-urql/graphql/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createClient } from 'urql'
22

33
export const client = createClient({
4-
url: 'https://graphql-pokemon.vercel.app/',
4+
url: 'https://graphql-pokemon2.vercel.app/',
55
})

0 commit comments

Comments
 (0)