What does it take to get a response from Galaxy support? I opened a ticket three days ago and I still have not heard from them.
My issue is regarding the graphql endpoint. It works fine locally but when I try to access the endpoint via the myaccount.meteorapp.com/graphql I get an error response. When I attempt to access the graphql playground at myaccount.meteorapp.com/graphiql, the browser just hangs.
This is the code I have in server/main.js
const server = new ApolloServer({
schema: schemaComposer.buildSchema(),
context: async ({req}) => {
const currentUser = await getUser(req.headers.authorization);
return ({
currentUser: currentUser
})
}
});
server.applyMiddleware({
app: WebApp.connectHandlers,
path: '/graphql'
});
WebApp.connectHandlers.use('/graphql', (req, res) => {
if (req.method === 'GET') {
res.end()
}
});