Luis Acerv
01/15/2019, 10:27 PMconst server = new GraphQLServer({
typeDefs: "./schema.graphql",
resolvers: resolvers,
context: req => ({
...req,
db: new Prisma({
endpoint: "<http://localhost:4466>",
debug: true
}),
graphqlAuthentication: graphqlAuthenticationConfig({
adapter: new GraphqlAuthenticationPrismaAdapter({}),
secret: "wherearemyshoes",
mailer,
mailAppUrl: "<http://example.com>"
})
})
});
I also have tried to set the endpoint as the public ip of the droplet and with 0.0.0.0
, the server endpoint is working and its accessible from playground, but when I try to fire the login mutation from the server the request hangs. Thanks for any help in advanceLuis Acerv
01/16/2019, 12:36 AM<http://prisma:4466>