diff --git a/endpoints.json b/endpoints.json index cae861e19eb2f0f8443ac8f1fe1b33bf95cd9a5b..8c92dd6e80c01407bc17167dc55a630bc3c9c458 100644 --- a/endpoints.json +++ b/endpoints.json @@ -1,6 +1,5 @@ { "AxiomTeam": "https://gql.wotwizard.axiom-team.fr/", "trentesaux": "https://gql.wotwizard.trentesaux.fr/", - "Pini": "https://wotwizard.pini.fr/", - "Tata": "https://wotwizard.tata.fr/" + "Pini": "https://wotwizard.pini.fr/" } diff --git a/graphql/endpoints/Tata.js b/graphql/endpoints/Tata.js deleted file mode 100644 index c9d8d861c634b8bb7c8efc183365a2ed07a5b71b..0000000000000000000000000000000000000000 --- a/graphql/endpoints/Tata.js +++ /dev/null @@ -1,19 +0,0 @@ - -const { HttpLink } = require("apollo-link-http"); -const { setContext } = require("apollo-link-context"); -const { from } = require("apollo-link"); -const { cache } = require("../cache"); - -const ssrMiddleware = setContext((_, { headers }) => { - if (process.client) return headers; - return { headers }; -}); - -const httpLink = new HttpLink({ uri: "https://wotwizard.tata.fr/" }); -const link = from([ssrMiddleware, httpLink]); - -module.exports = () => ({ - link, - cache, - defaultHttpLink: false -});