diff options
| author | Factiven <[email protected]> | 2023-07-16 22:35:39 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-07-16 22:35:39 +0700 |
| commit | 1eee181e219dfd993d396ac3169e7aad3dd285eb (patch) | |
| tree | 23fe54e9c3f8810f3ac9ab6b29070b4f0d4b9d20 /lib/apolloClient.js | |
| parent | removed console.log (diff) | |
| download | moopa-1eee181e219dfd993d396ac3169e7aad3dd285eb.tar.xz moopa-1eee181e219dfd993d396ac3169e7aad3dd285eb.zip | |
Update v3.6.4
- Added Manga page with a working tracker for AniList user
- Added schedule component to home page
- Added disqus comment section so you can fight on each other (not recommended)
- Added /id and /en route for english and indonesian subs (id route still work in progress)
Diffstat (limited to 'lib/apolloClient.js')
| -rw-r--r-- | lib/apolloClient.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/apolloClient.js b/lib/apolloClient.js deleted file mode 100644 index 8a25156..0000000 --- a/lib/apolloClient.js +++ /dev/null @@ -1,20 +0,0 @@ -import { ApolloClient, DefaultOptions, InMemoryCache } from "@apollo/client"; - -const defaultOptions = { - watchQuery: { - fetchPolicy: "no-cache", - errorPolicy: "ignore", - }, - query: { - fetchPolicy: "no-cache", - errorPolicy: "all", - }, -}; - -const client = new ApolloClient({ - uri: "https://graphql.anilist.co", - cache: new InMemoryCache(), - defaultOptions: defaultOptions, -}); - -export { client }; |