-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaces GraphQL server and data models
- Loading branch information
André Mendes
committed
Feb 15, 2023
1 parent
8860a4f
commit 11f9271
Showing
4 changed files
with
4,534 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import { ApolloClient, InMemoryCache } from "@apollo/client"; | ||
|
||
const API_URL = 'https://api.spacex.land/graphql/'; | ||
const API_URL = 'https://spacex-production.up.railway.app/'; | ||
|
||
const client = new ApolloClient({ | ||
uri: API_URL, | ||
cache: new InMemoryCache(), | ||
}); | ||
|
||
console.log(client); | ||
|
||
export default client; |
Oops, something went wrong.