Skip to content
Snippets Groups Projects
Commit 035a329e authored by poka's avatar poka
Browse files

remove test

parent d7ee5680
No related branches found
No related tags found
1 merge request!28Ci auto generate endpoints
Pipeline #36754 canceled
{
"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/"
}
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
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment