From 035a329e1794eef2d258700ab858ecd615bafaf8 Mon Sep 17 00:00:00 2001 From: poka <poka@p2p.legal> Date: Mon, 8 Apr 2024 11:31:37 +0200 Subject: [PATCH] remove test --- endpoints.json | 3 +-- graphql/endpoints/Tata.js | 19 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 graphql/endpoints/Tata.js diff --git a/endpoints.json b/endpoints.json index cae861e..8c92dd6 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 c9d8d86..0000000 --- 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 -}); -- GitLab